Bomb Game

Platform:  mIRC
Published  Feb 01, 2007
Updated  Apr 15, 2007
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
}
}

Comments

Sign in to comment.
Mtn64   -  Jul 26, 2011
@Baseballer790
U jelly or u mad?
This is a great script, and you're bagging on it.
Don't listen to him.
 Respond  
baseballer790   -  Feb 28, 2009
Worst piece of shoot ever.

Never post a snippet again
 Respond  
DarkProphet   -  Dec 22, 2007
I didn\'t like the notice timer, so I removed it. But other than that it works great. Nice job.
 Respond  
peterpowell   -  Apr 16, 2007
also instead of having

Code

 


have

[code]on *:text:!cutwire*:#:{
if ($2 == green) { do something here }
elseif ($2 == another_colour) { do something here }
/code]
etc..

-pp
 Respond  
BackoffJackson   -  Apr 15, 2007
Done.
 Respond  
peterpowell   -  Apr 15, 2007
make it .notice so its not so spammy

-pp
 Respond  
BackoffJackson   -  Feb 02, 2007
Ummm... this is not a RPG, XD, this is meant to be a small, but well scripted minigame and part of my !Play series.
 Respond  
Noutrious   -  Feb 02, 2007
This could be more interesting, if there would be places etc. :)
 Respond  
BackoffJackson   -  Feb 01, 2007
Thanks for the positive feedback.
 Respond  
Ozzie785   -  Feb 01, 2007
Great! Lol, I used it on my bot xD I changed some colors and added credit.. :)
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.