It's triggered with !g (search stuff)
You can trigger the script yourself
You can also use /g (search stuff) and it will echo the results to only you
It only returns 1 result, it doesn't do math or any extra features the google website does, it only does basic results
create a variable %chan_whitelist with a list of chans separated by spaces for chans you wish to have the script work in, Ex: %chan_whitelist #pball #lladq
If you want it to work in all chans remove the line "if (!$istok(%chan_whitelist,$chan,32)) halt"
There is a limit of 1 search every 5 seconds for spam protection, that can be changed in this line "else set -u5 %googlespam 1" by editing -u# to a different number
No guarantees on this working forever, but with the particular method this uses it shouldn't change and stop working much hopefully. Just message me here if the script stops working.
(Please keep the comments related to the script, pball looks at those people who argue about script vs snippet)