1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
alias setlevel { if ($1) { if ($2 == owner) || ($2 == op) || ($2 == voice) || ($2 == banned) { writeini bot.ini $chan $address($1, 0) $2 echo -a added $1 with level: $2 } else { notice $nick please replace $3 with owner, op, voice, banned } } } on *:TEXT:!addop *:#:{ if ($address($nick, 0) == *!*@PrzemoO.users.quakenet.org) { setlevel $2 $3 } } |