here is how i changed it:
elseif ($2 == stats) {
if (%cookieguess != ON) {
msg $chan Last person to fill cookie jar: %cookiefiller
.timer 1 1 msg $chan Last person to eat cookie: $+(,%cookieeater,)
.timer 1 2 msg $chan Last person to add cookie: $+(,%cookieadder,)
.timer 1 3 msg $chan Cookies left in cookie jar: $+(,%cookiejar,)
.timer 1 4 msg $chan Type !cookie help to get a list of cookie commands.
}
else { msg $chan Nooo cheating! First stop the cookieguess by typing !cookie guess stop }
}