I have a word scramble game and would like to add a command to the portion of script below to continue to the next word if correct.
At the moment the user must again type the command
!next to produce a knew word. Is it possible to add a line before the closing brackets to automatically execute the command
!next
on $*:TEXT:/^[!@.]guess/Si:#: {
if $($+(%,scram.scramword.,$chan),2) {
if ($2 != %scram.origword. [ $+ [ $chan ] ]) { .msg $chan LOL that was a wild quess! Try again! }
else {
writeini Docs\Scramble.ini points $nick $iif($readini(Docs\Scramble.ini,points,$nick),$calc($readini(Docs\Scramble.ini,points,$nick) + 5),5)
.msg $chan 5Clever little you! Great $nick $+ ! 10You now have $readini(Docs\Scramble.ini,points,$nick) points.
unset $+(%,scram.*.,$chan)
}
}
}