Hidden Mod
Platform: mIRC
Published Feb 07, 2011
Updated Feb 09, 2011
This is a script developed by myself and a good friend for our bots. We use it in several channels and it's a great way to minimize the amount of chatter to mod number. You choose the nicks you want to have the ability to use simple mod commands and the rest is very self explanatory. Hope you find it handy for yourselves.
Add into your bots remote
Insert as many allowed USERNAMEs you feel necessary, seperated by a comma, no spaces
Tell your chosen users to type in BOTNAME COMMAND NICK.
I tell them to set it up as a nick menu to make it faster and easier
**Updated with Jethros suggestion. Thanks heaps for the heads up
alias allowednicks return USERNAME,USERNAME
on @*:text:*:#:{
tokenize 32 $strip($1-)
if ($1 == $me) && ($istok($allowednicks,$nick,44)) {
if ($istok(kick boot,$2,32)) && ($3 ison #) { kick # $3 Blame $nick }
elseif (ban == $2) && ($address($3,2) !isban #) { ban # $3 2 }
elseif (voice == $2) && ($3 !isvoice #) { mode # +v $3 }
elseif (unvoice == $2) && ($3 isvoice #) { mode # -v $3) }
elseif (punish == $2) && ($3 ison #) { ban -k # $3 2 }
}
}