on *:text:.setitem *:#: { if ($nick == JamesB ) { set %item $2- msg $chan The item you are collecting has been set too:12 %item $+ 1. } On *:TEXT:.count *:# { if ($nick == JamesB ) { inc %count $2- /msg $chan 4 $2-  $+ %item added too counter. Total %item $+ :12 %count  $+ . } } On *:TEXT:.reset:# { if ($nick == JamesB ) { /set %count 0 /msg $chan The counter has been reset too: 12 %count  $+. } }