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 }
}
This is my first script on Hawkee so just if i don't works like you want just tell me how i sould be. Save this in a text file in the mIRC direction and type in mIRC "/load -rs path-to-the-file" or got to your remote (Ctrl + R), and select File>Load... and select the file you saved. I tested it using mIRCv6.2 Enjoy It :p [This script is for a bot! Only other people then the bot where the script..
!op is if the server uses a BotServ, like anope, and there is a bot assign for the room. Then it also wil be the bot who ops and deops like cs.
i would use it this way >>>>
on *:DEOP:#: {
if ($opnick !== $me) halt << if you are deoped
if ($nick == $me) halt << you dont want to be kicked
if ($nick !ison $chan) halt << the cs problem
else {
msg $chan Very Funny $nick $+ .
cs op $chan $me
timer 1 2 kick $chan $nick
}
}