Op bot
mIRC Code
+ 3 likes
Please Register to submit score.
| Average Score | 4.0 (of 2 scores) |
| Date Added | Sep 27, 2009 |
| Last Updated | Sep 27, 2009 |
| Tags | bot op |
Introduction
it is an op bot basically.
For IRC services
mIRC Snippet:
Op bot
Posted on Sep 28, 2009 12:14 am
Posted on Sep 28, 2009 12:14 am
I realize I should've put my two cents in. You really don't need to add if $nick isop $chan in every line and one text event per trigger. One is really enough:
if $nick !isop $chan tells mirc if the nick is not an op.
| Code: |
| on *:TEXT:*:#: { tokenize 32 $strip($1-) if ($nick !isop $chan) && ($istok($commands,$1-,32)) { notice $nick Access denied. Only Ops can use it. } if ($1 == !own) { mode $chan +q $2 } if ($1 == !unown) { mode $chan -q $2 } if ($1 == !topic) { cs topic $chan $2- } if ($1 == !op) { mode $chan +o $2 } ..... so on and so forth... } alias -l commands { return !own !unown !topic !op } |







