Hi i know this dll isnt entirely as useful as it can be, eg im going to add a feature to list links from more then just page one, and more then just the websearch area of google, ill add the calc function from google, define, search website etc. anyhow for now it's just to get people maybe into the spirit of dll writing for mirc. pic a language, c++, asm, vb etc and write:P anyhow here's what i have for mine so far...
it will retreive the first 10 links for a search term just as if you typed it into a google search. the dll is attached, just use regsvr32 to register
here is an example script to run the dll through mirc, this will accept ~google Search Term, and msg back to the channel, the first 10 results of the search
on *:Text:~google*:*: {
if ($1 != $null) {
gts $nick $replace($2-,$chr(32),$chr(37) $+ 20)
}
}
alias GtS {
comopen RiftsGoogleDLL RiftsGoogleDLL.class1
var %x = $com(RiftsGoogleDLL,getSC,1,*bstr,$replace($2-,$chr(32),$chr(37) $+ 20))
privmsg $1 $com(RiftsGoogleDLL).result
comclose RiftsGoogleDLL
}
that will react everytime anybody says ~google killagraphix
for example
-Rift-
google linker
Moderators: Moderator, Global Moderator
google linker
hey Adrasteia, cool addon! i like...
Good work
Good work
google linker
I told you in chat it was cool, worked perfect; Josh said something about it being considered to make something arther mirc vb dlls or something, so you\'ve obviously acomplished something, wd <img src=\'http://www.killanet.net/forum3/public/s ... >/good.gif\' class=\'bbc_emoticon\' alt=\'(Y)\' />


