If you want to make it easier with a non-permanent ban, use this. Note that %mins is the minutes until the ban is removed (NOT seconds): on $@:text:/||/:#:{ var %mins = 15 | var %cnt = $calc(%mins 60) | if $nick isreg $chan { hinc -m col $nick | if $hget(col,$nick) == 1 { msg # 0,1This is the first and only warning $nick $+ , do not use colours, underline or bold in this channel. Next time you will be banned. } | elseif $hget(col,$nick) == 2 { ban -u $+ %cnt $chan $nick You were warned | hdel col $nick } } }