on *:TEXT:!ddr:#: { set %ddrtime 5 | if (%ddr == $null) set %ddr off | if (%ddr == off) notice $nick 4Welcome to 12DDR!4Good luck, $nick | if (%ddr == off) set %ddrnick $nick | if (%ddr == off) set %ddrnum1 $rand(100,999) | if (%ddr == off) set %ddrnum2 $rand(100,999) | if (%ddr == off) set %ddrnum %ddrnum1 %ddrnum2 | if (%ddr == off) notice $nick The number is %ddrnum1 and then %ddrnum2 (with a space in between the numbers) and you have %ddrtime seconds to type it! | if (%ddr == off) timer 1 %ddrtime if (%ddr == inuse) notice $nick Sorry you ran out of time. | if (%ddr == off) timer 1 %ddrtime if (%ddr == on) set %ddr off | if (%ddr == off) timer 1 %ddrtime if (%ddr == inuse) set %ddr off | if (%ddr == off) set %ddr inuse | } on *:TEXT:%ddrnum:#: { { if (%ddr == inuse) inc %score2 [ $+ [ $nick ] ] | if (%ddr == inuse) notice $nick Congrats. You received a point! You now have %score2 [ $+ [ $nick ] ] ! } | { if (%ddr == inuse) set %ddr off } else { notice $nick It's not your turn! } } on $*:TEXT:/^[!@](points|score)/Si:#:{ { if ($2 == $null) msg $chan Your score is %score2 [ $+ [ $nick ] ] } else { msg $chan $2 has %score2 [ $+ [ $2 ] ] points. } }