ON *:TEXT:!next:#: {
if ($nick isop $chan) {
inc %usercount 1
if (%usercount < $lines(list.txt)) {
msg $chan It's time for $read(list.txt, %usercount) to play!
}
elseif (%usercount == $lines(list.txt)) {
inc %usercount 1
msg $chan It's time for $read(list.txt, %usercount) to play again
}
elseif (%usercount > $lines(list.txt)) {
;unset %usercount
;msg $chan List Is Over!
set %usercount 1
msg $chan Back to $read(list.txt, %usercount) !
}
}