on $*:TEXT:/^!(pcw|world)/Si:#pcelites:{ inc %warning [ $+ [ $nick ] ]
if (%warning [ $+ [ $nick ] ] == 1) { notice $nick 4,1Please do not use !pcw in #pcelites. The bot will automatically repeat the world every 20 seconds. Do not do it again. }
if (%warning [ $+ [ $nick ] ] == 2) { notice $nick 4,1I've already warned you once about using the !pcw/!world command. If I have to do it again you will be kicked. }
if (%warning [ $+ [ $nick ] ] == 3) { /kick $chan $nick You were already warned twice not to use the !pcw/!world command. }
if (%warning [ $+ [ $nick ] ] == 4) { notice $nick 4,1This is the foruth time you've used the !pcw/!world command. If you do it again you will receive a 5 minute mute. }
if (%warning [ $+ [ $nick ] ] == 5) { msg $chan !mute $nick 5 This is the fifth time I've had to warn you about using !pcw/!world command. Start paying attention to the warnings. | unset %warning [ $+ [ $nick ] ] } }