A very simple and fun game I made! Just load it into your bots remotes and type !Play Bomb Game and then answer with !Cutwire Red, Green, or Blue. Enjoy!
(Thanks to Falerin, who helped me make it more 1/3 chance of cutting, instead of 1/2)
on *:text:!Play Bomb Game:#:{
set %Bombed $nick
set %ColorNum $rand(1,3)
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 <Color>
.timer 1 1 .notice %Bombed 1
.timer 1 2 .notice %Bombed 2
.timer 1 3 .notice %Bombed 3
.timer 1 4 .notice %Bombed 4
.timer 1 5 .notice %Bombed 5
.timer 1 6 .notice %Bombed 6
.timer 1 7 .notice %Bombed 7
.timer 1 8 .notice %Bombed 8
.timer 1 9 .notice %Bombed 9
.timer 1 10 .notice %Bombed 10
.timer 1 11 .notice %Bombed 11
.timer 1 12 .notice %Bombed 12
.timer 1 13 .notice %Bombed 13
.timer 1 14 .notice %Bombed 14
.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 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
}
}