Page 1 of 1

google linker

Posted: Sun Dec 19, 2004 1:49 am
by Adrasteia
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

Posted: Thu Dec 23, 2004 7:21 am
by Mr_S
hey Adrasteia, cool addon! i like...

Good work

google linker

Posted: Thu Dec 23, 2004 7:39 am
by Endo
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 /good.gif\' class=\'bbc_emoticon\' alt=\'(Y)\' />