on *:text:Ms_7-11 guess*:#Praise-Him: {
if ($3 == %guessnum1) {
msg $chan 1,8 $nick Got The Right Number It Was %guessnum1 $+ !!!!! ( $+ $nick has winned, $read(text.txt, s, $nick) $+ times!
set %variables $read(text.txt, s, $nick)
write -ds $+ $nick text.txt
write text.txt $nick $calc(%variables + 1)
}
if ($3 < %guessnum1) {
msg $chan 2,13Sorry $nick The Number Is Higher Than $3
halt
}
if ($3 > %guessnum1) {
msg $chan 6,15Sorry $nick The Number Is Lower Than $3
halt
}
}