I'm looking for a simple mirc script that will 1) Trigger on the eggdrop bot's public msg to a channel 2) do a whois to verify that it's my bot 3) op the bot.
So, for example, the bot does:
putserv "PRIVMSG #mychan : op me or I shall go NI!"
The script should do a whois and make sure the bot's netmask matches whatever.users.undernet.org
If it matches, op the bot so it'll shut up
Any help appreciated.