JusTCl|k Admin
Number of posts : 71 Age : 41 Localisation/Location : Morocco Registration date : 2007-04-13
| Subject: a small addon for modes Wed May 30, 2007 6:25 pm | |
| i got the idea and i edite it to my needs u can to ur needs too :p:afro: - Code:
-
on *:input:#:{ if ($1 == ident) { if (Under-web.net isin $server) { /idunderweb } | if (undernet.org isin $server) { /idundernet } } if ($1 == +i) { .mode $chan +i $2- } if ($1 == -i) { .mode $chan -i $2- } if ($1 == +r) { .mode $chan +r $2- } if ($1 == -r) { .mode $chan -r $2- } if ($1 == +s) { .mode $chan +s $2- } if ($1 == -s) { .mode $chan -s $2- } if ($1 == +m) { .mode $chan +m $2- } if ($1 == -m) { .mode $chan -m $2- } if ($1 == +) { .msg x op $chan $2- } if ($1 == -) { .msg x deop $chan $2- } if ($1 == -*) { .silence +* $2- } if ($1 == +*) { .silence -* $2- } if ($1 == +d) { .mode $me +d $2- } if ($1 == -d) { .mode $me -d $2- } } | |
|