Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:!dd *:#Dat: {
- ; You can remove the first two IF lines if you don't care about checking if the nicks are on the channel.
- if ($nick isvoice #Dat || $nick isreg #Dat) { msg $chan Only halfop or higher can start a duel. | return }
- if ($2 !ison $chan) { msg $chan $2 is not a valid nick. | halt }
- if ($3 !ison $chan) { msg $chan $3 is not a valid nick. | halt }
- if (!$4) { msg $chan Invalid format. Use: !dd nick1 nick2 reward | halt }
- set %dd $2 $3 $4
- msg $chan 7,7// 4,4// 5,5// 8,1 Dice duel between 9 $2 8 and 9 $3 8--- pot:9 $4 ; 8 Type !roll. 5,5// 4,4// 7,7//
- .timerDD 1 300 EndDD
- }
- on *:text:!roll:#Dat: {
- if (!%dd) { msg $chan 8,1 No 4duel 8in progress. | halt }
- if (!$istok(%dd,$nick,32)) { msg $chan You are not one of the duelists. | halt }
- if ($($+(%,ddr.,$nick),2)) { msg $chan You have already rolled. | halt }
- var %r = $rand(2,12), %d1 = $gettok(%dd,1,32), %d2 = $gettok(%dd,2,32), %p = $gettok(%dd,3,32)
- set %ddr. $+ $nick %r
- msg $chan 7,7// 4,4// 5,5// 8,19 $nick 0 rolled a 7 %r $+ 0, on two six-sided dice. 5,5// 4,4// 7,7//
- var %r1 = $($+(%,ddr.,$gettok(%dd,1,32)),2), %r2 = $($+(%,ddr.,$gettok(%dd,2,32)),2)
- if (%r1 && %r2) {
- if (%r1 > %r2) { msg $chan 9,1 %d1 8 won the 4 %p pot 8 with rolls 4 %r1 $+ - $+ %r2 $+ . }
- elseif (%r2 > %r1) { msg $chan 9,1 %d2 8 won the 4 %p pot 8 with rolls 4 %r2 $+ - $+ %r1 $+ . }
- else { msg $chan 8,1 9 %d1 8 and 9 %d2 8 tied with a 4 %r1 $+ - $+ %r2 $+ . 8 Host please 4 RESTART 8 the duel. }
- unset %dd
- unset %ddr.*
- .timerDD off
- }
- }
- alias EndDD {
- msg $chan The duel ran out of time and has been ended.
- unset %dd
- unset %ddr.*
- }
- on *:text:*!ddend *:#Dat: {
- set %dd $2 $3
- msg $chan 8,1 Dice duel between 9 $2 8 and 9 $3 8 was ended.
- unset %dd
- unset %ddr.*
- .timerDD off
- halt
- }
- on *:text:!pickpocket*:#:{
- msg $chan 12,11 $me walks up to $2 silently...
- .timer 1 2 msg $chan 12,11 $me carefully reaches inside $2 $+ 's pocket and finds...
- var %item = $rand(1,12)
- if (%item == 1) .timer 1 2 msg $chan 2,0 A cell phone!
- if (%item == 2) .timer 1 2 msg $chan 3,9 money!
- if (%item == 3) .timer 1 2 msg $chan 5,0 A wallet! w00t!
- if (%item == 4) .timer 1 2 msg $chan 0,1 A receipt... -.-
- if (%item == 5) .timer 1 2 msg $chan 14,1 An ipod!!!
- if (%item == 6) .timer 1 2 msg $chan 7,0 Cigarettes... blah...
- if (%item == 7) .timer 1 2 msg $chan 4,0 A lighter... wonder what that's for...
- if (%item == 8) .timer 1 2 msg $chan 1,4 OMG! A condom!
- if (%item == 9) .timer 1 2 msg $chan 15,0 A quarter ~ wooptido -.-
- if (%item == 10) .timer 1 2 msg $chan 13,0 Yummy! Bubble gum!
- if (%item == 11) .timer 1 2 msg $chan 12,0 Nuthin...
- if (%item == 12) .timer 1 2 msg $chan 12,14 Lint???
- }
- on 1:TEXT:*!sword*:#:{
- var %sword = $rand(1,11)
- msg $chan 12,11 $nick steps up to the sword and grips it firmly...
- if (%sword == 1) .timer 1 2 msg $chan 4,1 $nick is to weak!
- if (%sword == 2) .timer 1 2 msg $chan 4,1 $nick is laughed at. $nick Runs away crying!
- if (%sword == 3) .timer 1 2 msg $chan 4,1 $nick pulls at the sword with all there might, but $nick is just not strong enough.
- if (%sword == 4) .timer 1 2 msg $chan 4,1 $nick 's hands slip off the sword and $nick tumbles backwards embarrased.
- if (%sword == 5) .timer 1 2 msg $chan 4,1 $nick gives up....
- if (%sword == 6) .timer 1 2 msg $chan 4,1 $nick did it! $nick got the sword!
- if (%sword == 7) .timer 1 2 msg $chan 4,1 $nick pulls the sword out and thrust it over his head in triumph!
- if (%sword == 8) .timer 1 2 msg $chan 4,1 $nick fails at retrieving the sword. $me shoves $nick out of the way and pulls it out with one hand.
- if (%sword == 9) .timer 1 2 msg $chan 4,1 $nick Yanks the sword out easily, and falls backwards stabbing themself.
- if (%sword == 10) .timer 1 2 msg $chan 4,1 $nick Pulls the sword out and is named the strongest man in $chan
- if (%sword == 11) .timer 1 2 msg $chan 4,1 $nick is thrown in jail for stealing the sword.
- }
- on *:text:!Poison Game:#:{
- set %poisioned $nick
- set %keyNum $rand(1,3)
- msg $chan 0,3 $me 3,0 spills poision, 0,3 %poisioned 3,0 must unlock the antipoision. 0,3 %poisioned 3,0 has 9,0 15 3,0 seconds to unlock the antipoision. The keys are are 8,0 Gold, 15,0 Silver, 3,0 and 7,0 Bronze. 3,0 Type !pick <Color> key.
- .timer 1 5 .notice %poisioned 1
- .timer 1 10 .notice %poisioned 2
- .timer 1 15 .notice %poisioned 3
- .timer 1 16 msg $chan 4,0 $nick took too long! The WHOLE chan dies!
- .timer 1 16 unset %poisioned
- }
- on *:text:!pick gold:#:{
- if ($nick = %poisioned) {
- if (%keyNum == 1) {
- msg $chan 8,1 Antipoision has been retrieved! 1,8 $nick 8,1 saved your lives!
- timer* off
- unset %poisioned
- halt
- }
- msg $chan 8,1 $nick 1,8 picked the wrong key! You ALL Die!
- timer* off
- unset %poisioned
- }
- }
- on *:text:!pick silver:#:{
- if ($nick = %poisioned) {
- if (%keyNum == 2) {
- msg $chan 15,12 Key has been retrived! 12,15 $nick 15,12 Saved you ALL!
- timer* off
- unset %poisioned
- halt
- }
- msg $chan 15,12 $nick 12,15 picked the wrong key! YOU ALL Die!
- timer* off
- unset %poisoned
- }
- }
- on *:text:!pick bronze:#:{
- if ($nick = %poisioned) {
- if (%keyNum == 3) {
- msg $chan 7,15 Key has been retrieved! 15,7 $nick 7,15 Saved you ALL!
- timer* off
- unset %poisioned
- halt
- }
- msg $chan 15,7 $nick 7,15 picked the wrong key! YOU ALL Die!
- timer* off
- unset %poisioned
- }
- }
- on *:text:*!pd*:*: {
- ; You can remove the first two IF lines if you don't care about checking if the nicks are on the channel.
- if ($nick isvoice #Dat || $nick isreg #Dat) { msg $chan Only halfop or higher can start a duel. | return }
- if ($2 !ison $chan) { msg $chan $2 is not a valid nick. | halt }
- if ($3 !ison $chan) { msg $chan $3 is not a valid nick. | halt }
- if (!$4) { msg $chan Invalid format. Use: !dd nick1 nick2 reward | halt }
- set %pd $2 $3 $4
- msg $chan 11,11// 12,12// 2,2// 8,1 $2 8betted 4 $4 8 on host: 4 $3 8@ 60x2 game, gl! 2,2// 12,12// 11,11//
- }
- on *:text:!rol:#Dat: {
- if (!%pd) { msg $chan 8,1 No 4duel 8in progress. | halt }
- if (!$istok(%pd,$nick,32)) { msg $chan You are not one of the duelists. | halt }
- var %r = $r(1,100), %d1 = $gettok(%pd,1,32), %p = $gettok(%pd,3,32)
- set %ddr. $+ $nick %r
- msg $chan 11,11// 12,12// 2,2// 8,1 $nick rolled a 4 %r $+ 1, 8on the percentile dice. 2,2// 12,12// 11,11//
- var %r1 = $($+(%,ddr.,$gettok(%dd,1,32)),2)
- .timerDD 1 300 EndDD
- unset %pd
- unset %ddr.*
- .timerDD off
- }
- on *:text:!preroll:#Dat: {
- var %r = $r(2,12), %d1 = $gettok(%pd,1,32), %p = $gettok(%pd,3,32)
- set %ddr. $+ $nick %r
- notice $nick 11,11// 12,12// 2,2// 8,1 You just prerolled 4 %r $+ 1, 8on the two sixsided dice. 2,2// 12,12// 11,11//
- var %r1 = $($+(%,ddr.,$gettok(%dd,1,32)),2)
- .timerDD 1 300 EndDD
- unset %pd
- unset %ddr.*
- .timerDD off
- }
- }
- on *:text:!newdd*:#Smokin_Dice,#SM-Dev: {
- If (($nick !isreg $chan) && ($me isin $1-)) {
- msg $chan !Roll 10,1Dat 4,1Dice 10,1And 9,1Win!! }
- }
- on *:TEXT:*tie*reroll*:#Smokin_Dice:{
- if (($nick isop $chan) && ($chr(40) $+ $me $+ $chr(41) isin $strip($2-)) && (reroll isin $strip($2-)) && (side !isin $2-) && (jackpot !isin $2-)) {
- msg $chan !Roll 10Re 03Rolling
- }
- }
Add Comment
Please, Sign In to add comment