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