only the first works
on $*:TEXT:/^!tk?b( .+)?$/Si:#:{
if (!$nick($chan,$me,ho)) .notice $nick [ERR]: I need halfop or above to do that.
elseif (!$nick($chan,$nick,ho)) .notice $nick [ERR]: You need halfop or above to do that.
elseif (!$3) .notice $nick [ERR]: Syntax - !tb <nick> <time> [reason]
elseif ($2 !ison $chan) .notice $nick [ERR]: $2 is not in the channel.
elseif ($3 !isnum) .notice $nick [ERR]: Time must be a number (in minutes).
elseif ($nick !isop $chan) && ($nick($chan,$2,ho)) .notice $nick [ERR]: I will not kick halfops or above.
else {
inc %kicked
ban $+(-ku,$calc($3 * 60)) $chan $2 2 ¤ $3 Min Ban ¤ Reason: $iif($4,$4-,None) ¤ Noobs Pwnt: %kicked ¤
}
}
on *:TEXT:!unmute*:#: {
if ($nick isop $chan) || ($nick ishop $chan) {
mode $chan -m
}
}
on $*:text:/^[!@](k|kick)/Si:#:{
if ($nick isop $chan || $nick ishop $chan || $address($nick,2) == $address($me,2)) {
kick $chan $2 Reason: $3-
}
}
On *:Text:!unban*:#: {
on $*:text:/^[!](mute|gag)/Si:#: {
if ($nick isop $chan || $nick ishop $chan || $address($nick,2) == $address($me,2)) {
mode $chan +b ~q: $+ $address($2,2)
mode $chan -v $2
}
}
on $*:text:/^[!](demute|degag)/Si:#: {
if ($nick isop $chan || $nick ishop $chan || $address($nick,2) == $address($me,2)) {
mode $chan -b ~q: $+ $address($2,2)
}
}