on *:text:!Play Bomb Game:#:{ set %Bombed $nick set %ColorNum $rand(1,5) describe $chan puts a bomb on the wall %Bombed has to defuse it. %Bombed has 15 seconds to defuse the bomb. The colors are are red, green, and blue. Type !cutwire .timer 1 5 .notice %Bombed 5 .timer 1 10 .notice %Bombed 10 .timer 1 15 .notice %Bombed 15 .timer 1 16 msg $chan You took too long! YOU LOSE .timer 1 16 unset %Bombed } on *:text:!cutwire green:#:{ if ($nick = %Bombed) { if (%ColorNum == 1) { msg $chan Bomb has been defused! You win! timer* off unset %Bombed halt } msg $chan You cut the wrong wire! YOU LOSE! timer* off unset %Bombed } } on *:text:!cutwire white:#:{ if ($nick = %Bombed) { if (%ColorNum == 4) { msg $chan Bomb has been defused! You win! timer* off unset %Bombed halt } msg $chan You cut the wrong wire! YOU LOSE! timer* off unset %Bombed } } on *:text:!cutwire black:#:{ if ($nick = %Bombed) { if (%ColorNum == 5) { msg $chan Bomb has been defused! You win! timer* off unset %Bombed halt } msg $chan You cut the wrong wire! YOU LOSE! timer* off unset %Bombed } } on *:text:!cutwire red:#:{ if ($nick = %Bombed) { if (%ColorNum == 2) { msg $chan Bomb has been defused! You win! timer* off unset %Bombed halt } msg $chan You cut the wrong wire! YOU LOSE! timer* off unset %Bombed } } on *:text:!cutwire blue:#:{ if ($nick = %Bombed) { if (%ColorNum == 3) { msg $chan Bomb has been defused! You win! timer* off unset %Bombed halt } msg $chan You cut the wrong wire! YOU LOSE! timer* off unset %Bombed } }