Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:!bomb:#runearmada: {
- if ($nick ison $chan) {
- msg $chan 14OH NO! $nick has decided to bomb $2 $+ ! Quickly $2 Defuse that bomb! Type 4!cut red 12!cut blue 14or 9!cut green 14to defuse the bomb. You have %bombtime seconds!
- set %bombtime $r(20,60)
- set %color1 $r(1,3)
- if (%color1 == 1) { set %color red }
- elseif (%color1 == 2) { set %color blue }
- elseif (%color1 == 3) { set %color green }
- set %bombnick $nick
- timerBomb 1 %bombtime kick $chan $nick -^~^-^~^-!BOOM!-^~^-^~^- Times up :)
- timer 1 %bombtime unset %bombnick
- }
- }
- on *:text:!cut *:#: {
- if (($nick == %bombnick) && ($2 == %color)) { msg $chan Congratulation you have defused the bomb! | unset %bombnick | timerBomb off }
- elseif (($nick == %bombnick) && ($2 != %color)) { kick $chan $nick -^~^-^~^-!BOOM!-^~^-^~^- you cut the wrong wire -_- | unset %bombnick | timerBomb off }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement