unset warned - 16/02/06 03:04 PM
Ok.. This is the final warned script...
Is there anyway to unset %warned.1 without messing up the them saying sorry part?
Code:
on *:TEXT:!warn *:*:{ if ($nick == %logged.in.nick) { set %warned.1 $2 set %reason $4- TIMERwarner 1 $3 .ban -ku $+ 30 $chan $2 $4- .msg $chan 4 $2 2is being warned because they're3 %reason 2,they need to say 7sorry 2or they will be kbed for 30 secs in10 $3 seconds... .notice %warned.1 2You better say 7sorry 2, or you will be kicked... } } on *:NICK:{ if ($nick == %warned.1) { set %warned.1 $newnick .notice %warned.1 2If that was to get out of this, it didn't work... } } on *:TEXT:sorry:#:{ if ($nick == %warned.1) { TIMERwarner off .msg $chan 4 %warned.1 2says they're sorry for3 %reason .notice %warned.1 2 You were warned because you were3 %reason 2, dont do it again... .notice %warned.1 2Next time there will be no warning... Just a KB! } }
Is there anyway to unset %warned.1 without messing up the them saying sorry part?