on *:TEXT:!setcounter*:#: { set %count $+ $nick $2 notice $nick 2your 4counter 2has been set to 4 %count [ $+ [ $nick ] ] } on *:TEXT:!counter*:#: { //notice $nick 2your 4counter2 is 4 %count [ $+ [ $nick ] ] } on *:TEXT:!delcounter*:#: { set %count [ $+ [ $nick ] ] 0 } on *:TEXT:!ccounter*:#: { if ($2 == +) { inc %count [ $+ [ $nick ] ] $$3 } if ($2 == -) { dec %count [ $+ [ $nick ] ] $$3 } }