Basically, this snippet lets you utilize the best of the internet search engines, all under one hood. Its extremely easy to use, and its practically impossible to mess up. Just put it in your remotes and then right-click for the popup to open up the dialog, which is just simple as can be.
This script saves the time needed to go to a website and type in the search. It lets you do all that just through mIRC. Unfortunately, since I do not know sockets, it uses the /run command. If someone could help me socketize it, i'd greatly appreciate it. otherwise, enjoy
menu channel,status,query {
Search Master Ultimate Search Engine: {
dialog -m SearchMaster SearchMaster
}
}
dialog SearchMaster {
title "Samcobra's Super Search Engine Master"
size -1 -1 170 160
option dbu
tab "Google",1,-1 -2 169 143
button "Google Web Search",2,50 40 80 25, tab 1
button "Google Images Search",3,50 70 80 25, tab 1
tab "Yahoo",4
button "Yahoo Web Search",5,50 20 80 25, tab 4
button "Yahoo Images Search",6,50 50 80 25, tab 4
button "Yahoo Video Search",7,50 80 80 25, tab 4
tab "MSN",8
button "MSN Web Search",9,50 20 80 25, tab 8
button "MSN Images Search",10,50 50 80 25, tab 8
button "MSN Encarta Search",11,50 80 80 25, tab 8
tab "Ask Jeeves",12
button "Ask Web",13,50 40 80 25, tab 12
button "Ask Images",14,50 70 80 25, tab 12
tab "Alta Vista",15
button "Alta Vista Web",16, 50 20 80 25, tab 15
button "Alta Vista Images",17, 50 50 80 25, tab 15
button "Alta Vista Audio",18, 50 80 80 25, tab 15
button "Alta Vista Video",19, 50 110 80 25, tab 15
}
on *:dialog:SearchMaster:sclick:2: {
var %q="Search For?"
run http://www.google.com/search?hl=en&q= $+ $replace(%q,$chr(32),$chr(43))
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:3: {
var %q $$?="Search Line"
run http://www.google.com/images?q= $+ $replace(%q,$chr(32),$chr(43))
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:5: {
var %q $$?="Search Line"
run http://search.yahoo.com/search?p= $+ $replace(%q,$chr(32),$chr(43)) $+ &fr=FP-tab-web-t&toggle=1&ei=UTF-8
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:6: {
var %q $$?="Search Line"
run http://images.search.yahoo.com/search/images?p= $+ $replace(%q,$chr(32),$chr(43)) $+ &fr=FP-tab-web-t&toggle=1&ei=UTF-8
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:7: {
var %q $$?="Search Line"
run http://video.search.yahoo.com/search/video?p= $+ $replace(%q,$chr(32),$chr(43)) $+ &fr=FP-tab-web-t&toggle=1&ei=UTF-8
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:9:{
var %q $$?="Search Line"
run http://search.msn.com/results.aspx?FORM=MSNH&q= $+ $replace(%q,$chr(32),$chr(43))
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:10: {
var %q $$?="Search Line"
run http://search.msn.com/images/results.aspx?FORM=IRRE&q= $+ $replace(%q,$chr(32),$chr(43))
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:11: {
var %q $$?="Search Line"
run http://search.msn.com/encarta/results.aspx?FORM=ENIR&q= $+ $replace(%q,$chr(32),$chr(43))
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:13: {
var %q $$?="Search Line"
run http://web.ask.com/web?q= $+ $replace(%q,$chr(32),$chr(43)) $+ &qsrc=0&o=0
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:14: {
var %q $$?="Search Line"
run http://pictures.ask.com/pictures?q= $+ $replace(%q,$chr(32),$chr(43)) $+ &qsrc=0&o=0
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:16: {
var %q $$?="Search Line"
run http://www.altavista.com/web/results?itag=ody&q= $+ $replace(%q,$chr(32),$chr(43)) $+ &kgs=1&kls=0
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:17: {
var %q $$?="Search Line"
run http://www.altavista.com/image/results?itag=ody&q= $+ $replace(%q,$chr(32),$chr(43)) $+ &kgs=1&kls=0
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:18: {
var %q $$?="Search Line"
run http://www.altavista.com/audio/results?q= $+ $replace(%q,$chr(32),$chr(43)) $+ &kgs=1&kls=0
dialog -x SearchMaster SearchMaster
}
on *:dialog:SearchMaster:sclick:19: {
var %q $$?="Search Line"
run http://www.altavista.com/video/results?q= $+ $replace(%q,$chr(32),$chr(43)) $+ &kgs=1&kls=0
dialog -x SearchMaster SearchMaster
}