Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:!cut*:#scripting: {
- if ($$2 == %fuse [ $+ [ $nick ] ]) {
- inc %bombs [ $+ [ $nick ] ]
- inc %round [ $+ [ $nick ] ]
- unset timer
- msg # The fuse was the %fuse wire! You will now move on to round %round [ $+ [ $nick ] ] $+ .
- }
- elseif ($$2 != %fuse [ $+ [ $nick ] ]) {
- unset %fuse [ $+ [ $nick ] ] | unset %bomb [ $+ [ $nick ] ] | unset %round [ $+ [ $nick ] ] | unset %player [ $+ [ $nick ] ]
- msg # Wrong wire. You lose.
- }
- }
- on *:text:!bombs:#scripting: {
- if (%bombs [ $+ [ $nick ] ]) {
- msg # you have %bombs [ $+ [ $nick ] ] bomb(s) collected!
- }
- }
- on *:text:!bomb:#scripting: {
- if (!%bomb [ $+ [ $nick ] ]) {
- set %bomb [ $+ [ $nick ] ]
- set %player [ $+ [ $nick ] ]
- inc %round [ $+ [ $nick ] ]
- }
- if (%round [ $+ [ $nick ] ] == 1) {
- msg # Your bomb has two wires, 4red and 12blue. You have to cut the wire that is the bomb's fuse. If you cut the wrong wire, the bomb will explode. If you don't cut a wire in 5 seconds, the bomb will explode. If you cut the right wire, you will defuse the bomb and get it as a reward. To cut one of the wires, type 4!cut <color>
- set %fuse [ $+ [ $nick ] ] $gettok(red blue,$r(1,2),32)
- timer 1 5 [ $+ [ $nick ] ] 1 5 unset %fuze [ $+ [ $nick ] ] | unset %bomb [ $+ [ $nick ] ] | unset %round [ $+ [ $nick ] ] | msg # The bomb exploded! You lose!
- }
- elseif (%round [ $+ [ $nick ] ] == 2) {
- msg # Your bomb has three wires, 4red, 12blue, and 3green.
- set %fuse [ $+ [ $nick ] ] $gettok(red blue green,$r(1,3),32)
- .timerbomb 1 5 unset %fuze [ $+ [ $nick ] ] | unset %bomb [ $+ [ $nick ] ] | unset %round [ $+ [ $nick ] ] | msg # The bomb exploded! You lose!
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment