alias asi {
inc %asi
if (%asi == 0) { set %asichan $chan
}
else {
set %asichan %asichan $chan
}
}
on *:CONNECT: {
if (%gameinfo == $null) { //set %gameinfo off | //set %On On
}
}
dialog chancegame {
title Manage: %chanceuser
size -1 -1 89 269
option dbu
box "Check", 2, 21 25 50 50
box "Give", 3, 21 90 50 70
button "Points", 5, 27 31 37 12
button "Coupons", 6, 27 45 37 12
button "Phats", 7, 27 59 37 12
button "Points", 8, 27 99 37 12
button "Coupons", 9, 27 114 37 12
button "Party Hats", 10, 27 129 37 12
button "Auto-Voice", 11, 27 144 37 12
box "Take", 4, 21 169 50 70
button "Coupons", 12, 27 193 37 12
button "Party Hats", 13, 27 208 37 12
button "Auto-Voice", 14, 27 223 37 12
button "Points", 15, 27 178 37 12
button "Close", 16, 27 253 37 12, cancel
text "Manage", 1, 2 0 86 8
text User: %chanceuser , 17, 2 8 86 8
text Channel: %chancechannel , 18, 2 17 86 8
}
dialog givepoint {
title Give Points
size -1 -1 86 81
option dbu
button "5", 1, 10 15 66 12
box Give Points to %chanceuser , 2, 5 6 76 56
button "10", 3, 10 30 66 12
button "X", 4, 10 45 65 12
button "Close", 5, 24 65 37 12, cancel
}
dialog takepoint {
title Take Points
size -1 -1 86 81
option dbu
button "5", 1, 10 15 66 12
box Take Points from %chanceuser , 2, 5 6 76 56
button "10", 3, 10 30 66 12
button "X", 4, 10 45 65 12
button "Close", 5, 24 65 37 12, cancel
}
dialog givecoupon {
title "Give Coupons"
size -1 -1 86 96
option dbu
button "5", 1, 10 30 66 12
box Give Coupons to %chanceuser , 2, 5 6 76 69
button "10", 3, 10 45 66 12
button "X", 4, 10 60 65 12
button "Close", 5, 24 80 37 12, cancel
button "1", 6, 10 15 66 12
}
dialog takecoupon {
title "Take Coupons"
size -1 -1 86 96
option dbu
button "5", 1, 10 30 66 12
box Take Coupons from %chanceuser , 2, 5 6 76 69
button "10", 3, 10 45 66 12
button "X", 4, 10 60 65 12
button "Close", 5, 24 80 37 12, cancel
button "1", 6, 10 15 66 12
}
dialog takephat {
title "Take Phat"
size -1 -1 86 62
option dbu
box Take Phat from %chanceuser , 2, 5 6 76 39
button "Close", 5, 25 47 37 12, cancel
button "1", 6, 10 15 66 12
button "X", 1, 10 30 66 12
}
dialog givephat {
title "Give Phat"
size -1 -1 86 62
option dbu
box Give Phat to %chanceuser , 2, 5 6 76 39
button "Close", 5, 25 47 37 12, cancel
button "1", 6, 10 15 66 12
button "X", 1, 10 30 66 12
}
on *:DIALOG:takephat:sclick:6: { //dec %phat. [ $+ [ $address(%chanceuser,2) ] ] | window -e @Game-Info | aline @Game-Info You have taken one party-hat from %chanceuser | notice %chanceuser I have taken one party hat from you }
on *:DIALOG:takephat:sclick:1: { //var %takexphat $$?="Enter how many phats you want to take from %chanceuser " | //dec %phat. [ $+ [ $address(%chanceuser1,2) ] ] %takexphat | window -e @Game-Info | aline @Game-Info 4You have taken %takexphat partyhats from %chanceuser | notice %chanceuser I have taken %takexphat party hats from you }
on *:DIALOG:givephat:sclick:6: { //inc %phat. [ $+ [ $address(%chanceuser,2) ] ] | window -e @Game-Info | aline @Game-Info 4You have given a party-hat to %chanceuser | notice %chanceuser You have recived a party hat }
on *:DIALOG:givephat:sclick:1: { //var %givexphat $$?="Enter how many phats given to %chanceuser " | //inc %phat. [ $+ [ $address(%chanceuser,2) ] ] %givexphat | window -e @Game-Info | aline @Game-Info You have given %givexphat party-hats to %chanceuser1 | notice %chanceuser You have recived %givexphat party hats }
on *:DIALOG:givecoupon:sclick:6: { /inc %lottery. [ $+ [ %chanceuser ] ] 1 | window -e @Game-Info | aline @Game-Info 4You have given %chanceuser 1 lottery coupon | notice %chanceuser You have recived 1 Lottery coupon. Type !check coupon to check it for prizes. Now you totaly got $iif(%lottery. [ $+ [ %chanceuser ] ], $v1, 0) lottery coupons }
on *:DIALOG:givecoupon:sclick:1: { /inc %lottery. [ $+ [ %chanceuser ] ] 5 | window -e @Game-Info | aline @Game-Info 4You have given %chanceuser 5 lottery coupons | notice %chanceuser You have recived 5 Lottery coupons. Type !check coupon to check it for prizes. Now you totaly got $iif(%lottery. [ $+ [ %chanceuser ] ], $v1, 0) lottery coupons }
on *:DIALOG:givecoupon:sclick:3: { /inc %lottery. [ $+ [ %chanceuser ] ] 10 | window -e @Game-Info | aline @Game-Info 4You have given %chanceuser 10 lottery coupons | notice %chanceuser You have recived 10 Lottery coupons. Type !check coupon to check it for prizes. Now you totaly got $iif(%lottery. [ $+ [ %chanceuser ] ], $v1, 0) lottery coupons }
on *:DIALOG:givecoupon:sclick:4: { /var %givecoupons $$?="Enter how many coupons you want to give %chanceuser " | /inc %lottery. [ $+ [ %chanceuser ] ] %givecoupons | window -e @Game-Info | aline @Game-Info 4You have given %chanceuser %givecoupons lottery coupons | notice %chanceuser You have recived %givecoupons Lottery coupons. Type !check coupon to check it for prizes. Now you totaly got $iif(%lottery. [ $+ [ %chanceuser ] ], $v1, 0) lottery coupons }
on *:DIALOG:takecoupon:sclick:6: { //dec %lottery. [ $+ [ %chanceuser ] ] 1 | window -e @Game-Info | aline @Game-Info 4You have taken 1 lottery coupon from %chanceuser | notice %chanceuser I have taken 1 lottery coupon from you. Now you totaly got $iif(%lottery. [ $+ [ %chanceuser ] ], $v1, 0) lottery coupons }
on *:DIALOG:takecoupon:sclick:1: { //dec %lottery. [ $+ [ %chanceuser ] ] 5 | window -e @Game-Info | aline @Game-Info 4You have taken 5 lottery coupons from %chanceuser | notice %chanceuser I have taken 5 lottery coupons from you. Now you totaly got $iif(%lottery. [ $+ [ %chanceuser ] ], $v1, 0) lottery coupons }
on *:DIALOG:takecoupon:sclick:3: { //dec %lottery. [ $+ [ %chanceuser ] ] 10 | window -e @Game-Info | aline @Game-Info 4You have taken 10 lottery coupons from %chanceuser | notice %chanceuser I have taken 10 lottery coupons from you. Now you totaly got $iif(%lottery. [ $+ [ %chanceuser ] ], $v1, 0) lottery coupons }
on *:DIALOG:takecoupon:sclick:4: { //var %takecoupons $$?="Enter how many coupons to take from %chanceuser " | //dec %lottery. [ $+ [ %chanceuser ] ] %takecoupons | window -e @Game-Info | aline @Game-Info 4You have taken %takecoupons coupons from %chanceuser | notice %chanceuser I have taken %takecoupons lottery coupons from you. Now you totaly got $iif(%lottery. [ $+ [ %chanceuser ] ], $v1, 0) lottery coupons }
on *:DIALOG:takepoint:sclick:1: { //dec %chancescore. [ $+ [ %chanceuser ] ] 5 | window -e @Game-Info | aline @Game-Info 4You have taken 5 chance-points from %chanceuser | notice %chanceuser I have removed 5 chance-points from you. Now you totaly got $iif(%chancescore. [ $+ [ %chanceuser ] ], $v1, 0) Chance-Points }
on *:DIALOG:takepoint:sclick:3: { //dec %chancescore. [ $+ [ %chanceuser ] ] 10 | window -e @Game-Info | aline @Game-Info 4You have taken 10 chance-points from %chanceuser | notice %chanceuser I have removed 10 chance-points from you. Now you totaly got $iif(%chancescore. [ $+ [ %chanceuser ] ], $v1, 0) Chance-Points }
on *:DIALOG:takepoint:sclick:4: { //var %takecp $$?="Enter Points to take from %chanceuser " | //dec %chancescore. [ $+ [ %chanceuser ] ] %takecp | window -e @Game-Info | aline @Game-Info 4You have taken %takecp chance-points from %chanceuser | notice %chanceuser I have removed %takecp chance-points from you. Now you totaly got $iif(%chancescore. [ $+ [ %chanceuser ] ], $v1, 0) Chance-Points }
on *:DIALOG:givepoint:sclick:1: { //inc %chancescore. [ $+ [ %chanceuser ] ] 5 | window -e @Game-Info | aline @Game-Info 4You have given %chanceuser 5 Chance-Points | notice %chanceuser You have recived 5 Chance-Points. Now you totaly got $iif(%chancescore. [ $+ [ %chanceuser ] ], $v1, 0) Chance-Points }
on *:DIALOG:givepoint:sclick:3: { //inc %chancescore. [ $+ [ %chanceuser ] ] 10 | window -e @Game-Info | aline @Game-Info 4You have given %chanceuser 10 Chance-Points | notice %chanceuser You have recived 10 Chance-Points. Now you totaly got $iif(%chancescore. [ $+ [ %chanceuser ] ], $v1, 0) Chance-Points }
on *:DIALOG:givepoint:sclick:4: { //var %givecp $$?="Enter amount of Chance-Points given to %chanceuser " | inc %chancescore. [ $+ [ %chanceuser ] ] %givecp | window -e @Game-Info | aline @Game-Info 4You have given %chanceuser %givecp Chance-Points | notice %chanceuser You have recived %givecp Chance-Points. Now you to totaly got $iif(%chancescore. [ $+ [ %chanceuser ] ], $v1, 0) Chance-Points }
on *:DIALOG:chancegame:sclick:11: { //set %avnick. [ $+ [ %chanceuser ] $+ ] . [ $+ [ %chancechannel ] ] %chanceuser | /set %avchan. [ $+ [ %chanceuser ] $+ ] . [ $+ [ %chancechannel ] ] %chancechannel | notice %chanceuser I have given you auto-voice in $chan | window -e @Game-Info | aline @Game-Info 4You have given %chanceuser auto-voice in %chancechannel | mode %chancechannel +v %chanceuser }
on *:DIALOG:chancegame:sclick:14: { //unset %avnick. [ $+ [ %chanceuser ] $+ ] . [ $+ [ %chancechannel ] ] | /unset %avchan. [ $+ [ %chanceuser ] $+ ] . [ $+ [ %chancechannel ] ] | notice %chanceuser I have taken your auto-voice in %chancechannel | window -e @Game-Info | aline @Game-Info 4You have taken autovoice from %chanceuser in %chancechannel | mode %chancechannel -v %chanceuser }
on *:DIALOG:chancegame:sclick:8: { //dialog -m givepoint givepoint }
on *:DIALOG:chancegame:sclick:15: { //dialog -m takepoint takepoint }
on *:DIALOG:chancegame:sclick:12: { //dialog -m takecoupon takecoupon }
on *:DIALOG:chancegame:sclick:9: { //dialog -m givecoupon givecoupon }
on *:DIALOG:chancegame:sclick:13: { //dialog -m takephat takephat }
on *:DIALOG:chancegame:sclick:10: { //dialog -m givephat givephat }
on *:DIALOG:chancegame:sclick:5: { window -e @Game-Info | aline @Game-Info 4 $+ $iif(%chanceuser, $v1, 0) Got $iif(%chancescore. [ $+ [ %chanceuser ] ], $v1, 0) Chance-Points }
on *:DIALOG:chancegame:sclick:6: { window -e @Game-Info | aline @Game-Info 4 $+ %chanceuser got $iif(%lottery. [ $+ [ %chanceuser ] ], $v1, 0) Coupons }
on *:DIALOG:chancegame:sclick:7: { window -e @Game-Info | aline @Game-Info 4 $+ %chanceuser got $iif(%phat. [ $+ [ $address(%chanceuser,2) ] ], $v1, 0) Party hats }
Menu * {
Chance/Games
.Manage user $+ $chr(58) $$1:/set %chanceuser $$1 | /set %chancechannel $active | /dialog -m chancegame chancegame
.Manage Channel $+ $chr(58) $chan
..The Chance/Game script is $iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) in the channel
..%dac. [ $+ [ $chan ] ]:/set %activatechan. [ $+ [ $chan ] ] Activated | echo 4The script has been activated in $chan | /asi | msg $chan 2[4Chance/Games Script2]1 Has been activated in this channel: $chan | unset %dac. [ $+ [ $chan ] ] | set %ac. [ $+ [ $chan ] ] Deactivate the script in $chan
..%ac. [ $+ [ $chan ] ]:/set %activatechan. [ $+ [ $chan ] ] Deactivated | echo 4The script has been deactivated in $chan | /dec %asi | set %asichan $remove(%asichan,$chan) | msg $chan 2[4Chance/Games Script2]1 Has been deactivated in this channel: $chan | unset %ac. [ $+ [ $chan ] ] | set %dac. [ $+ [ $chan ] ] Activate the script in $chan
..-
..List all channels the script is activated in:echo 4The script is activated in the following channels: $iif(%asichan, $v1, 0)
.-
.Game Info
..%On://set %gameinfo on | set %Off Off | unset %on | window -e @Game-Info | aline @Game-Info 4Game info is set on
..%Off://set %gameinfo off | set %On On | unset %Off | window -e @Game-Info | aline @Game-Info 4Game info is off. Closing window in 10 seconds | timer 1 10 window -c @Game-Info | timer 1 10 echo 4Game-Info window is closed
}
-------------
2.0 Chance
2.1 - Game
2.2 - Guess
-------------
2.1 Chance - Game
-------------
on *:TEXT:!chance:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($me ishop $chan) || ($me isop $chan) {
//inc %chancetotal
//inc %chanceplay. [ $+ [ $nick ] ]
//set %chance. [ $+ [ $nick ] ] $rand(1,3)
/timer $+ $nick 1 60 /kick $chan $nick Sorry. But it took you too long. The right number was $iif(%chance. [ $+ [ $nick ] ], $v1, 0)
/timer 1 60 /unset %chance. [ $+ [ $nick ] ]
msg $chan $nick has taken the chance!! If he guesses the right number he will get 5 chance-points! If $nick does it wrong, he will get punished and lose 2 chance-points! $nick got 1 minute! After that minute he will be kicked!
/notice $nick Type !guess (a number between 1 and 3) to take the chance!
/timer $+ $nick $+ 2 1 50 notice $nick You got 10 seconds back!
if ($iif(%gameinfo, $v1, 0) == on) { window -e @Game-Info | aline @Game-Info $nick Has used chance in $chan $+ . The right number is: $iif(%chance. [ $+ [ $nick ] ], $v1, 0) }
}
else {
notice $nick I need to be a hop to use this in here
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated.
}
}
-------------
2.2 Chance - Guess
-------------
on *:TEXT:!guess *:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($me ishop $chan) || ($me isop $chan) {
if ($2 == $iif(%chance. [ $+ [ $nick ] ], $v1, 0)) && ($2 isnum 1-3) {
msg $chan Congratulations! $nick chosed the right number! $nick has recived 5 Chance-Points
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick Has guessed the right number in $chan using the !chance }
/timer $+ $nick off
/timer $+ $nick $+ 2 off
//unset %chance. [ $+ [ $nick ] ]
//inc %chancewon. [ $+ [ $nick ] ]
/inc %chancescore. [ $+ [ $nick ] ] 5
}
else {
/ban -ku10 $chan $address($nick,2)
/kick $chan $nick You chosed the wrong number! The right number were $iif(%chance. [ $+ [ $nick ] ], $v1, 0) $+ . You have lost 2 chance-points
timer 1 10 notice $nick You have been unbanned from $chan $+ . Better luck next time
/timer $+ $nick $+ 2 off
/timer $+ $nick off
//unset %chance. [ $+ [ $nick ] ]
//inc %chancelost. [ $+ [ $nick ] ]
//dec %chancescore. [ $+ [ $nick ] ] 2
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick Has guessed the wrong number in $chan using the !chance }
}
}
else {
notice $nick I need to atleast be a hop to use this command
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-------------
3.0 Voice
3.1 - Buy Voice
3.2 - Buy Autovoice
3.3 - Sell autovoice
-------------
3.1 Voice - Buy Voice
-------------
on *:TEXT:!buy voice:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($me ishop $chan) || ($me isop $chan) {
if ($nick isvoice $chan) { notice $nick You already got voice
}
else {
if ($iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) > 9) {
/mode $chan +v $nick
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick Has bought voice in $chan }
//dec %chancescore. [ $+ [ $nick ] ] 10
notice $nick You have bought voice for 10 chance-points
//inc %buyvoice. [ $+ [ $nick ] ]
}
else {
notice $nick You dont have 10 Chance-Points to buy voice with
}
}
}
else {
notice $nick I need to atleast be a hop to do this in here
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-------------
3.2 Voice - Buy Autovoice
-------------
on *:TEXT:!buy av:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($me ishop $chan) || ($me isop $chan) {
if ($nick == $iif(%avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) && ($chan == $iif(%avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) { notice $nick You already got auto-voice in here. If you dont got voice then say /hop
}
else {
if ($iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) > 99) {
/mode $chan +v $nick
//dec %chancescore. [ $+ [ $nick ] ] 100
notice $nick You have bought auto-voice in $chan for 100 chance-point
/set %avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ] $nick
/set %avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ] $chan
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick Has bought Auto-Voice in $chan }
}
else {
notice $nick You dont have 100 Chance-Points to buy auto-voice with
}
}
}
else {
notice $nick I need to be a hop in here to do this in here
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:JOIN:#: {
if ($nick == $me) {
if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) { /set %activatechan. [ $+ [ $chan ] ] Activated | unset %dac. [ $+ [ $chan ] ] | set %ac. [ $+ [ $chan ] ] Deactivate the script in $chan
}
else {
/set %activatechan. [ $+ [ $chan ] ] Deactivated | unset %ac. [ $+ [ $chan ] ] | set %dac. [ $+ [ $chan ] ] Activate the script in $chan
}
}
if ($nick == $iif(%avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) && ($chan == $iif(%avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) && ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
/mode $chan +v $nick
/notice $nick You have bought auto-voice in $chan $+ . So heres your voice
}
else {
halt
}
}
-----------
3.3 Voice - Sell Autovoice
-----------
on *:TEXT:!sell av:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($nick == $iif(%avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) && ($chan == $iif(%avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) {
inc %chancescore. [ $+ [ $nick ] ] 50
/unset %avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ] $nick
/unset %avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ] $chan
/mode $chan -v $nick
notice $nick You have sold your auto-voice for 50 chance-points
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick Has sold his auto-voice on $chan }
}
else {
notice $nick You dont have any auto-voice to sell
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-------------
4.0 Info
4.1 - Chancehelp
4.2 - Chanceinfo
4.3 - Points
4.4 - Gambleinfo
4.5 - Chancescore
4.6 - Items
-------------
4.1 Info - Chancehelp
-------------
on *:TEXT:!chancehelp*:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 == $null) {
notice $nick Type !chancehelp chancepoints To get help about chance-points
notice $nick Type !chancehelp games if you want info about my games
notice $nick Type !chancehelp buy To se what and how you can buy with your Chance-Points
notice $nick Type !chancehelp sell To se what and how you can sell your "Chance-Points" stuff
notice $nick Type !chancehelp info To get help about info things
}
if ($2 == games) {
notice $nick Type !chance to start a mini-game were you can win 5 Chance-Points or lose 2
notice $nick Type !Gamble (amount of Chance-Points you want to gamble) Theres a 50% chance of winning. You win double up
notice $nick Type !hot (a nick you want to play heads or tails with) With this you play about 5 chancepoints. Theres a 50% chance of winning
notice $nick Type !search To search a bookcase for items
}
if ($2 == buy) {
notice $nick You can buy voice for 10 Chance-Points typing !buy voice
notice $nick You can buy auto-voice typing !buy av in the channel you want auto-voice in. Auto-voice costs 100 chance-points
notice $nick You can buy lottery coupons for 5 chance-points each, saying !buy coupon (amout of coupons you wanna buy)
notice $nick You can also buy jokes for 10 chance-points each. Say !buy joke to buy a joke
notice $nick You can win alot of different stuff in lottery, you can win chance-points, phats (there only 1% chance of getting phat)
}
if ($2 == sell) {
notice $nick You can sell your auto-voice for 50 chance-points by saying !sell av
notice $nick If you got a Party-hat you can sell it for 500 chance-points! To sell it say: !sell phat
}
if ($2 == chancepoints) {
notice $nick You can get chancepoints by playing chance, gambling, and playing heads and tails
notice $nick To get info about playing those games above say !chancehelp games
notice $nick You can alse get chancepoints by using the !search function!
notice $nick Chance-Points are also used to buy voice or autovoice in a channel or buying lottery coupons
notice $nick To se your or other poeples chance-points and stuff say !points (name of person you want to look up)
notice $nick 4NB: You dont need add your own name if you want to look yourself up
}
if ($2 == info) {
notice $nick Type !chanceinfo to see how many times the !chance have been used
notice $nick Type !chancescore to see how many times you have won and lost!
notice $nick Type !gambleinfo to see how many times the !gamble have been used
notice $nick Type !points to see how many points and items you got
notice $nick Type !list jokes to see how many different jokes you got
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:@chancehelp*:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 == $null) {
msg $chan Type !chancehelp chancepoints To get help about chance-points
msg $chan Type !chancehelp games if you want info about my games
msg $chan Type !chancehelp buy To se what and how you can buy with your Chance-Points
msg $chan Type !chancehelp sell To se what and how you can sell your "Chance-Points" stuff
msg $chan Type !chancehelp info To get help about info things
}
if ($2 == games) {
notice $nick Type !chance to start a mini-game were you can win 5 Chance-Points or lose 2
notice $nick Type !Gamble (amount of Chance-Points you want to gamble) Theres a 50% chance of winning. You win double up
notice $nick Type !hot (a nick you want to play heads or tails with) With this you play about 5 chancepoints. Theres a 50% chance of winning
notice $nick Type !search To search a bookcase for items
}
if ($2 == buy) {
notice $nick You can buy voice for 10 Chance-Points typing !buy voice
notice $nick You can buy auto-voice typing !buy av in the channel you want auto-voice in. Auto-voice costs 100 chance-points
notice $nick You can buy lottery coupons for 5 chance-points each, saying !buy coupon (amout of coupons you wanna buy)
notice $nick You can also buy jokes for 10 chance-points each. Say !buy joke to buy a joke
notice $nick You can win alot of different stuff in lottery, you can win chance-points, phats (there only 1% chance of getting phat)
}
if ($2 == sell) {
notice $nick You can sell your auto-voice for 50 chance-points by saying !sell av
notice $nick If you got a Party-hat you can sell it for 500 chance-points! To sell it say: !sell phat
}
if ($2 == chancepoints) {
notice $nick You can get chancepoints by playing chance, gambling, and playing heads and tails
notice $nick To get info about playing those games above say !chancehelp games
notice $nick You can alse get chancepoints by using the !search function!
notice $nick Chance-Points are also used to buy voice or autovoice in a channel or buying lottery coupons
notice $nick To se your or other poeples chance-points and stuff say !points (name of person you want to look up)
notice $nick 4NB: You dont need add your own name if you want to look yourself up
}
if ($2 == info) {
notice $nick Type !chanceinfo to see how many times the !chance have been used
notice $nick Type !chancescore to see how many times you have won and lost!
notice $nick Type !gambleinfo to see how many times the !gamble have been used
notice $nick Type !points to see how many points and items you got
notice $nick Type !list jokes to see how many different jokes you got
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-------------
4.2 Info - Chanceinfo
-------------
on *:TEXT:!chanceinfo:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
notice $nick The Chance-minigame has been used $iif(%chancetotal, $v1, 0) times.
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:@chanceinfo:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
msg $chan The Chance-minigame has been used $iif(%chancetotal, $v1, 0) times.
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-------------
4.3 Info - Points
-------------
on *:TEXT:!points*:#: {
if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 == $null) {
notice $nick You got: $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) Chance-points
}
else {
notice $nick $2 $+ 's got: $iif(%chancescore. [ $+ [ $2 ] ], $v1, 0) Chance-Points
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:@points*:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 == $null) {
msg $chan $nick got: $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) chance-points
}
else {
msg $chan $2 got: $iif(%chancescore. [ $+ [ $2 ] ], $v1, 0) Chance-Points
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-------------
4.4 Info - Gambleinfo
-------------
on *:TEXT:!gambleinfo:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
notice $nick Gamble have been used $iif(%gambleused, $v1, 0) times
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:@gambleinfo:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
msg $chan Gamble have been used $iif(%gambleused, $v1, 0) times
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
------------
4.5 Info - Chancescore
------------
on *:TEXT:!chancescore*:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 == $null) {
notice $nick You have played this game: $iif(%chanceplay. [ $+ [ $nick ] ], $v1, 0) times. You have guessed right: $iif(%chancewon. [ $+ [ $nick ] ], $v1, 0) times. You have lost: $iif(%chancelost. [ $+ [ $nick ] ], $v1, 0) times. You have bought voice $iif(%buyvoice. [ $+ [ $nick ] ], $v1, 0) times
notice $nick You got: $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) Chance-points
}
else {
notice $nick $2 has played this game: $iif(%chanceplay. [ $+ [ $2 ] ], $v1, 0) times. $2 has guessed right: $iif(%chancewon. [ $+ [ $2 ] ], $v1, 0) times. $2 has lost: $iif(%chancelost. [ $+ [ $2 ] ], $v1, 0) times. $2 has bought voice $iif(%buyvoice. [ $+ [ $2 ] ], $v1, 0) times
notice $nick $2 $+ 's got: $iif(%chancescore. [ $+ [ $2 ] ], $v1, 0) Chance-Points
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:@chancescore*:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 == $null) {
msg $chan $nick has played this game: $iif(%chanceplay. [ $+ [ $nick ] ], $v1, 0) times. $nick has guessed right: $iif(%chancewon. [ $+ [ $nick ] ], $v1, 0) times. $nick has lost: $iif(%chancelost. [ $+ [ $nick ] ], $v1, 0) times. You have bought voice $iif(%buyvoice. [ $+ [ $nick ] ], $v1, 0) times
msg $chan $nick got: $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) chance-points
}
else {
msg $chan $2 has played this game: $iif(%chanceplay. [ $+ [ $2 ] ], $v1, 0) times. $2 has guessed right: $iif(%chancewon. [ $+ [ $2 ] ], $v1, 0) times. $2 has lost: $iif(%chancelost. [ $+ [ $2 ] ], $v1, 0) times. He has bought voice $iif(%buyvoice. [ $+ [ $2 ] ], $v1, 0) times
msg $chan $2 $+ 's got: $iif(%chancescore. [ $+ [ $2 ] ], $v1, 0) Chance-Points
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-------------
4.6 Info - Items
-------------
on *:TEXT:!item*:#: {
if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 == $null) {
notice $nick You got: $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) Chance-points And $iif(%lottery. [ $+ [ $nick ] ], $v1, 0) lottery coupons and $iif(%phat. [ $+ [ $address($nick,2) ] ], $v1, 0) party hats
}
else {
notice $nick $2 $+ 's got: $iif(%chancescore. [ $+ [ $2 ] ], $v1, 0) Chance-Points And $iif(%lottery. [ $+ [ $2 ] ], $v1, 0) lottery coupons and $iif(%phat. [ $+ [ $address($2,2) ] ], $v1, 0) party hats
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:@item*:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 == $null) {
msg $chan $nick got: $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) chance-points And $iif(%lottery. [ $+ [ $nick ] ], $v1, 0) lottery coupons and $iif(%phat. [ $+ [ $address($nick,2) ] ], $v1, 0) party hats
}
else {
msg $chan $2 got: $iif(%chancescore. [ $+ [ $2 ] ], $v1, 0) Chance-Points And $iif(%lottery. [ $+ [ $2 ] ], $v1, 0) lottery coupons and $iif(%phat. [ $+ [ $address($2,2) ] ], $v1, 0) party hats
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-------------
5.0 Gamble
5.1 - Game
5.2 - Number
-------------
5.1 Gamble - Game
-------------
on *:TEXT:!gamble *:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 < 0) { /ban -ku300 $chan $address($nick,2) | /kick $chan $nick DONT CHEAT!4 You have been banned for 5 minutes }
elseif ($iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) > $2) {
notice $nick You have gambled $2 Chance-points!
//dec %chancescore. [ $+ [ $nick ] ] $2
//inc %gambleused
//set %gambleamount. [ $+ [ $nick ] ] $2
//set %gamblenum. [ $+ [ $nick ] ] $rand(1,2)
notice $nick Type !number (a number between 1 and 2) to se what you have won
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick Has gambled $iif(%gambleamount. [ $+ [ $nick ] ], $v1, 0) Chance-Points in $chan $+ . The right number is: $iif(%gamblenum. [ $+ [ $nick ] ], $v1, 0) }
}
else {
notice $nick You dont have $2 Chance-Points to gamble with! To get chance-poits please read !chancehelp
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-------------
5.2 Gamble - Number
-------------
on *:TEXT:!number*:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 == $null) { notice $nick You need to chose a number between 1 and 2 }
elseif ($2 == $iif(%gamblenum. [ $+ [ $nick ] ], $v1, 0)) {
notice $nick Congratulations! You have won $iif(%gambleamount. [ $+ [ $nick ] ], $v1, 0) Chance-Points!
if ($iif(%gameinfo, $v1, 0) == on) { window -e @Game-Info | aline @Game-Info $nick Has won $iif(%gambleamount. [ $+ [ $nick ] ], $v1, 0) Chance-Points at gambling in $chan }
//inc %chancescore. [ $+ [ $nick ] ] $calc($iif(%gambleamount. [ $+ [ $nick ] ], $v1, 0)*2)
//unset %gamblenum. [ $+ [ $nick ] ]
//unset %gambleamount. [ $+ [ $nick ] ]
}
else {
notice $nick Sorry buy you have lost $iif(%gambleamount. [ $+ [ $nick ] ], $v1, 0) Chance-Points! The right number was: $iif(%gamblenum. [ $+ [ $nick ] ], $v1, 0) $+ . You have $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) Chance-Points left. Better luck next time
if ($iif(%gameinfo, $v1, 0) == on) { window -e @Game-Info | aline @Game-Info $nick Has lost $iif(%gambleamount. [ $+ [ $nick ] ], $v1, 0) Chance-Points at gambling in $chan }
//unset %gamblenum. [ $+ [ $nick ] ]
//unset %gambleamount. [ $+ [ $nick ] ]
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
------------
6.0 Give Chance-Points
------------
on *:TEXT:!give *:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 < 0) { /ban -ku300 $chan $address($nick,2) | /kick $chan $nick DONT CHEAT!4 You have been banned for 5 minutes }
elseif ($3 ison $chan) {
if ($iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) > $calc($2 - 1)) && ($2 isnum 0-10000000000000000000000000000000000000000000000000000000000000000000000000) {
//inc %chancescore. [ $+ [ $3 ] ] $2
//dec %chancescore. [ $+ [ $nick ] ] $2
/notice $3 $nick Has given you $2 Chance-Points
/notice $nick You have given $2 Chance-Points to $3
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has given $2 Chance-points to $3 }
}
else {
notice $nick You dont have $2 Chance-points to give to $3
}
}
else {
notice $nick $3 Isnt in here. You cant give Chance-Points to a person whos not in the channel
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-----------
7.0 Heads or Tails
7.1 - Game
7.2 - Accept
7.3 - Decline
-----------
7.1 Heads or Tails - Game
-----------
on *:TEXT:!hot *:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($2 == $nick) { notice $nick You cant challange yourself! }
elseif ($2 ison $chan) {
if ($iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) > 4) {
if ($iif(%chancescore. [ $+ [ $2 ] ], $v1, 0) > 4) {
/set %hotnick. [ $+ [ $2 ] ] $nick
/set %hot. [ $+ [ $2 ] ] on
/set %hotenemy. [ $+ [ $2 ] ] $2
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has challanged $2 to play heads or tails in $chan }
notice $nick You have challanged $2 to play heads or tail!
notice $nick Wait to se if he have acceptet or declined your challange
notice $2 $nick Has challanged you to play heads or tails! It will cost you 5 Chance-Points to play! Say !accept in the channel $chan if you want to play. If you dont want to play say !decline in the $chan $+ .
notice $2 4NB: You can win or lose 5 Chance-Points
}
else {
notice $nick $2 Doesnt have 5 Chance-Points to play with!
}
}
else {
notice $nick You dont have 5 chance-points to play with!
}
}
else {
notice $nick $+ $2 Isnt in here. You cant challange a person whos not in the channel
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-----------
7.1 Heads or Tails - Accept
-----------
on *:TEXT:!accept:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($iif(%hot. [ $+ [ $nick ] ], $v1, 0) == on) && ($iif(%hotenemy. [ $+ [ $nick ] ], $v1, 0) == $nick) {
if ($iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) ison $chan) {
notice $nick You have acceptet $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) $+ 's Challange! You got heads
notice $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) $nick Has acceptet you challange! You got tails
var %hotgame = $rand(1,2)
if (%hotgame == 1) {
Notice $nick I flip the coin.
Notice $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) I flip the coin.
timer 1 3 notice $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) The Coins lands on tails. You have won 5 Chance-Points
timer 1 3 notice $nick The Coins lands on tails. You have lost 5 Chance-Points
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has acceptet $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) $+ 's challange. $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) won the 5 chance-points }
dec %chancescore. [ $+ [ $nick ] ] 5
inc %chancescore. [ $+ [ %hotnick. [ $+ [ $nick ] ] ] ] 5
unset %hotnick. [ $+ [ $nick ] ]
unset %hot. [ $+ [ $nick ] ]
unset %hotenemy. [ $+ [ $nick ] ]
}
if (%hotgame == 2) {
Notice $nick I flip the coin.
Notice $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) I flip the coin.
timer 1 3 notice $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) The Coins lands on heads. You have lost 5 Chance-Points
timer 1 3 notice $nick The Coins lands on heads. You have won 5 Chance-Points
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has acceptet $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) $+ 's challange. $nick won the 5 chance-point }
inc %chancescore. [ $+ [ $nick ] ] 5
dec %chancescore. [ $+ [ %hotnick. [ $+ [ $nick ] ] ] ] 5
unset %hotnick. [ $+ [ $nick ] ]
unset %hot. [ $+ [ $nick ] ]
unset %hotenemy. [ $+ [ $nick ] ]
}
}
else {
notice $nick $+ $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) isnt in this channel. Find a channel were me and him is in and say !accept
}
}
else {
notice $nick No one has given you a challange
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-----------
7.1 Heads or Tails - Decline
-----------
on *:TEXT:!decline:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($iif(%hot. [ $+ [ $nick ] ], $v1, 0) == on) && ($iif(%hotenemy. [ $+ [ $nick ] ], $v1, 0) == $nick) {
notice $nick You have declined $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) $+ 's challange
notice $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) $nick Has declined your challange
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has declined $iif(%hotnick. [ $+ [ $nick ] ], $v1, 0) $+ 's challange. }
unset %hotnick. [ $+ [ $nick ] ]
unset %hot [ $+ [ $nick ] ]
unset %hotenemy. [ $+ [ $nick ] ]
}
else {
notice $nick No one has given you a challange
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-----------
8.0 coupons
8.1 - Buy
8.2 - Check
-----------
8.1 coupons - Buy
-----------
on *:TEXT:!buy coupon*:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($3 == $null) {
if ($iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) > 4) {
dec %chancescore. [ $+ [ $nick ] ] 5
inc %lottery. [ $+ [ $nick ] ]
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has bought a coupon in $chan }
notice $nick You have bought one lottery coupon for 5 Chance-Points. Now you got $iif(%lottery. [ $+ [ $nick ] ], $v1, 0) Lottery coupons and $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) Chance-Points
notice $nick To check it type !check coupon
}
else {
notice $nick You dont have enough Chance-Points to buy one coupon. It will cost you 5 Chance-Points to buy one coupon. You only got $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) Chance-Points. So you need $calc(5 - $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0)) Chance-Points more to buy a coupon
}
}
else {
if ($iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) > $calc($3 * 5 - 1)) {
if ($3 isnum 1-100) {
dec %chancescore. [ $+ [ $nick ] ] $calc(5 * $3)
inc %lottery. [ $+ [ $nick ] ] $3
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has bought $3 coupons in $chan }
notice $nick You have bought $3 lottery coupons for $calc(5 * $3) Chance-Points. Now you got $iif(%lottery. [ $+ [ $nick ] ], $v1, 0) Lottery coupons and $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) Chance-Points
notice $nick To check it type !check coupon
}
else {
notice $nick You can maximun buy 100 coupons at the time
}
}
else {
notice $nick You dont have enough Chance-Points to buy $3 coupons. It will cost you $calc($3 * 5) Chance-Points to buy $3 coupons. You only got $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0) Chance-Points. So you need $calc($3 * 5 - $iif(%chancescore. [ $+ [ $nick ] ], $v1, 0)) Chance-Points more to buy $3 coupons
}
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-----------
8.2 coupons - Check
-----------
on *:TEXT:!check coupon:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($iif(%lottery. [ $+ [ $nick ] ], $v1, 0) > 0) {
/dec %lottery. [ $+ [ $nick ] ]
notice $nick Your lottery coupon is getting checked. Please wait a few seconds
timer 1 4 notice $nick You got $iif(%lottery. [ $+ [ $nick ] ], $v1, 0) coupons left
var %lotterycoupons = $rand(1,120)
if (%lotterycoupons == 1) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 2) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 3) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 4) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 5) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 6) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 7) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 8) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 9) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 10) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 11) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 12) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 13) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 14) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 15) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 16) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 17) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 18) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 19) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 20) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 21) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 22) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 23) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 24) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 25) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 26) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 27) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 28) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 29) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 30) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 31) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 32) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 33) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 34) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 35) { /var %winning $rand(1,10) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 36) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 37) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 38) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 39) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 40) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 41) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 42) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 43) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 44) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 45) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 46) { /var %winning $rand(1,5) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 47) { /var %winning $rand(1,50) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 48) { /var %winning $rand(1,50) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 49) { /var %winning $rand(1,50) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 50) { /var %winning $rand(1,50) | timer 1 3 /notice $nick Congratulations!! You have won %winning Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning }
if (%lotterycoupons == 51) {
if ($nick == $iif(%avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) && ($chan == $iif(%avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) {
timer 1 3 /notice $nick Congratulations!! You have won 40 Chance-Points
inc %chancescore. [ $+ [ $nick ] ] 40
}
else {
/timer 1 3 /mode $chan +v $nick
/set %avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ] $nick
/set %avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ] $chan
/timer 1 3 /notice $nick Congratulations!! You have won auto-voice in $chan
}
}
if (%lotterycoupons == 52) {
if ($nick == $iif(%avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) && ($chan == $iif(%avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) {
timer 1 3 /notice $nick Congratulations!! You have won 40 Chance-Points
inc %chancescore. [ $+ [ $nick ] ] 40
}
else {
/timer 1 3 /mode $chan +v $nick
/set %avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ] $nick
/set %avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ] $chan
/timer 1 3 /notice $nick Congratulations!! You have won auto-voice in $chan
}
}
if (%lotterycoupons == 53) {
if ($nick == $iif(%avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) && ($chan == $iif(%avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ], $v1, 1)) {
timer 1 3 /notice $nick Congratulations!! You have won 40 Chance-Points
inc %chancescore. [ $+ [ $nick ] ] 40
}
else {
/timer 1 3 /mode $chan +v $nick
/set %avnick. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ] $nick
/set %avchan. [ $+ [ $nick ] $+ ] . [ $+ [ $chan ] ] $chan
/timer 1 3 /notice $nick Congratulations!! You have won auto-voice in $chan
}
}
if (%lotterycoupons == 54) {
if ($nick isvoice $chan) {
timer 1 3 /notice $nick Congratulations!! You have won 5 chance-points
inc %chancescore. [ $+ [ $nick ] ] 5
}
else {
/timer 1 3 /mode $chan +v $nick
timer 1 3 /notice $nick Congratulations!! You have won voice in $chan
}
}
if (%lotterycoupons == 55) {
if ($nick isvoice $chan) {
timer 1 3 /notice $nick Congratulations!! You have won 5 chance-points
inc %chancescore. [ $+ [ $nick ] ] 5
}
else {
/timer 1 3 /mode $chan +v $nick
timer 1 3 /notice $nick Congratulations!! You have won voice in $chan
}
}
if (%lotterycoupons == 56) {
if ($nick isvoice $chan) {
timer 1 3 /notice $nick Congratulations!! You have won 5 chance-points
inc %chancescore. [ $+ [ $nick ] ] 5
}
else {
/timer 1 3 /mode $chan +v $nick
timer 1 3 /notice $nick Congratulations!! You have won voice in $chan
}
}
if (%lotterycoupons == 57) {
if ($nick isvoice $chan) {
timer 1 3 /notice $nick Congratulations!! You have won 5 chance-points
inc %chancescore. [ $+ [ $nick ] ] 5
}
else {
/timer 1 3 /mode $chan +v $nick
timer 1 3 /notice $nick Congratulations!! You have voice in $chan
}
}
if (%lotterycoupons == 58) {
if ($nick isvoice $chan) {
timer 1 3 /notice $nick Congratulations!! You have won 5 chance-points
inc %chancescore. [ $+ [ $nick ] ] 5
}
else {
/timer 1 3 /mode $chan +v $nick
timer 1 3 /notice $nick Congratulations!! You have won voice in $chan
}
}
if (%lotterycoupons == 59) {
if ($nick isvoice $chan) {
timer 1 3 /notice $nick Congratulations!! You have won 5 chance-points
inc %chancescore. [ $+ [ $nick ] ] 5
}
else {
/timer 1 3 /mode $chan +v $nick
timer 1 3 /notice $nick Congratulations!! You have won voice in $chan
}
}
if (%lotterycoupons == 60) {
if ($nick isvoice $chan) {
timer 1 3 /notice $nick Congratulations!! You have won 5 chance-points
inc %chancescore. [ $+ [ $nick ] ] 5
}
else {
/timer 1 3 /mode $chan +v $nick
timer 1 3 /notice $nick Congratulations!! You have won voice in $chan
}
}
if (%lotterycoupons == 61) { timer 1 3 /notice $nick CONGRATULATIONS!!!!!! You have won a PHAT!!! OMG!!!!
inc %phat. [ $+ [ $address($nick,2) ] ]
}
if (%lotterycoupons == 62) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 63) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 64) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 65) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 66) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 67) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 68) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 69) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 70) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 71) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 72) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 73) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 74) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 75) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 76) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 77) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 78) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 79) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 80) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 81) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 82) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 83) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 84) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 85) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 86) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 87) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 88) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 89) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 90) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 91) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 92) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 93) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 94) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 95) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 96) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 97) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 98) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 99) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 100) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 101) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 102) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 103) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 104) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 105) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 106) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 107) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 108) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 109) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 110) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 111) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 112) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 113) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 114) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 115) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 116) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 117) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 118) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 119) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 120) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
if (%lotterycoupons == 121) { timer 1 3 /notice $nick Sorry! But theres no prize on that coupon! }
}
else {
/notice $nick You dont have any lottery coupons
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
-----------
9.0
Sell - Phat
-----------
on *:TEXT:!sell phat:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($iif(%phat. [ $+ [ $address($nick,2) ] ], $v1, 0) > 0) {
notice $nick You have sold your party hat for 500 Chance-Points!
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has sold his partyhat for 500 chance-points }
inc %chancescore. [ $+ [ $nick ] ] 500
dec %phat. [ $+ [ $address($nick,2) ] ]
}
else {
notice $nick Dont steal! Its not your partyhat!
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:!search:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($me ishop $chan) || ($me isop $chan) {
if (!%seach [ $+ [ $address($nick,2) ] ]) {
set -u1800 %seach $+ $address($nick,2) x
notice $nick You search the bookcase
var %searchprize = $rand(1,3)
if (%searchprize == 1) {
var %searchwire = $rand(1,2)
if (%searchwire == 1) {
/set %wirecolor1. [ $+ [ $nick ] ] red
/set %wirecolor2. [ $+ [ $nick ] ] black
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has found a timebomb using search in $chan $+ . The wire to defuse the bomb is: $iif(%wirecolor1. [ $+ [ $nick ] ], $v1, 0) }
/timer 1 3 msg $chan $nick has found a timebomb inside a bookcase! He got 60 seconds to deactivate it
/timer 1 3 notice $nick Inside the bookcase you found a timebomb! The counter on it has start counting!
/timer 1 4 notice $nick The bomb will explode in 60 seconds!
/timer 1 4 notice $nick Theres two wires! One 1black5 and one 4red5 wire!
/timer 1 4 notice $nick To deactivate it say !cutwire (the color of wire you want to cut)
/timerwire $+ $nick 1 63 /kick $chan $nick BOOOOOOOM
/timercolor $+ $nick 1 63 /unset %wirecolor2. [ $+ [ $nick ] ]
/timercolor2 $+ $nick 1 63 /unset %wirecolor1. [ $+ [ $nick ] ]
/timercolor3 $+ $nick 1 63 /unset %timebom. [ $+ [ $nick ] ]
set %timebom. [ $+ [ $nick ] ] on
}
if (%searchwire == 2) {
/set %wirecolor1. [ $+ [ $nick ] ] black
/set %wirecolor2. [ $+ [ $nick ] ] red
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has found a timebomb using search in $chan $+ . The wire to defuse the bomb is: $iif(%wirecolor1. [ $+ [ $nick ] ], $v1, 0) }
/timer 1 3 msg $chan $nick has found a timebomb inside a bookcase! He got 60 seconds to deactivate it
/timer 1 3 notice $nick Inside the bookcase you found a timebomb! The counter on it has start counting!
/timer 1 4 notice $nick The bomb will explode in 60 seconds!
/timer 1 4 notice $nick Theres two wires! One 1black5 and one 4red5 wire!
/timer 1 4 notice $nick To deactivate it say !cutwire (the color of wire you want to cut)
/timerwire $+ $nick 1 63 /kick $chan $nick BOOOOOOOM
/timercolor $+ $nick 1 63 /unset %wirecolor2. [ $+ [ $nick ] ]
/timercolor2 $+ $nick 1 63 /unset %wirecolor1. [ $+ [ $nick ] ]
/timercolor3 $+ $nick 1 63 /unset %timebom. [ $+ [ $nick ] ]
set %timebom. [ $+ [ $nick ] ] on
}
}
if (%searchprize == 2) { /var %winning2 $rand(1,20) | timer 1 3 notice $nick Inside the bookcase you find %winning2 Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning2 }
if (%searchprize == 3) { timer 1 3 /notice $nick You find nothing in the bookcase }
}
else {
notice $nick You can only search the bookcase one time each 30 minutes
}
}
else {
notice $nick I need to atleast be a hop to use this command
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:!cutwire *:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($me ishop $chan) || ($me isop $chan) {
if ($iif(%timebom. [ $+ [ $nick ] ], $v1, 0) == on) {
if ($2 == $null) { notice $nick You need to chose a wire to cut! Type !cutwire (1black5 or 4red5) }
elseif ($2 == $iif(%wirecolor1. [ $+ [ $nick ] ], $v1, 0)) {
msg $chan $nick has cut the $iif(%wirecolor1. [ $+ [ $nick ] ], $v1, 0) wire!
timer 1 3 msg $chan The watch stops cointing! $nick has deactivated the bomb!
timer 1 3 notice $nick To see if the timebomb comtains some usefull items say !search timebomb
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has cut the correct wire }
/timercolor3 $+ $nick off
/timercolor2 $+ $nick off
/timercolor $+ $nick off
/timerwire $+ $nick off
/unset %wirecolor1. [ $+ [ $nick ] ]
/unset %wirecolor2. [ $+ [ $nick ] ]
/unset %timebom. [ $+ [ $nick ] ]
timer 1 3 /inc %timebombreward. [ $+ [ $nick ] ]
}
else {
msg $chan $nick has cut the $iif(%wirecolor2. [ $+ [ $nick ] ], $v1, 0) wire!
timer 1 3 /kick $chan $nick BOOM!!!!!!!!
if ($iif(%gameinfo, $v1, 0) == on) { /window -e @Game-Info | aline @Game-Info $nick has cut the wrong wire }
/timercolor3 $+ $nick off
/timercolor2 $+ $nick off
/timercolor $+ $nick off
/timerwire $+ $nick off
/unset %wirecolor1. [ $+ [ $nick ] ]
/unset %wirecolor2. [ $+ [ $nick ] ]
/unset %timebom. [ $+ [ $nick ] ]
}
}
else {
notice $nick You dont have a timebomb!
}
}
else {
notice $nick I need to atleast be a hop to use this command
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:!search timebomb:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if ($iif(%timebombreward. [ $+ [ $nick ] ], $v1, 0) > 0) {
dec %timebombreward. [ $+ [ $nick ] ]
notice $nick You search the timebomb
var %timebombrand = $rand(1,12)
if (%timebombrand == 1) { timer 1 3 notice $nick You find nothing in the timebomb }
if (%timebombrand == 2) { /var %winning2 $rand(10,20) | timer 1 3 notice $nick Inside the timebomb you find %winning2 Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning2 }
if (%timebombrand == 3) { /var %winning2 $rand(10,20) | timer 1 3 notice $nick Inside the timebomb you find %winning2 Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning2 }
if (%timebombrand == 4) { /var %winning2 $rand(10,20) | timer 1 3 notice $nick Inside the timebomb you find %winning2 Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning2 }
if (%timebombrand == 5) { /var %winning2 $rand(1,10) | timer 1 3 notice $nick Inside the timebomb you find %winning2 Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning2 }
if (%timebombrand == 6) { /var %winning2 $rand(1,10) | timer 1 3 notice $nick Inside the timebomb you find %winning2 Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning2 }
if (%timebombrand == 7) { /var %winning2 $rand(1,10) | timer 1 3 notice $nick Inside the timebomb you find %winning2 Chance-Points | /inc %chancescore. [ $+ [ $nick ] ] %winning2 }
if (%timebombrand == 8) { /var %winning3 $rand(2,10) | timer 1 3 notice $nick You find %winning3 chance coupons inside the timebomb! | inc %lottery. [ $+ [ $nick ] ] %winning3 }
if (%timebombrand == 9) { /var %winning3 $rand(2,10) | timer 1 3 notice $nick You find %winning3 chance coupons inside the timebomb! | inc %lottery. [ $+ [ $nick ] ] %winning3 }
if (%timebombrand == 10) { /var %winning3 $rand(2,5) | timer 1 3 notice $nick You find %winning3 chance coupons inside the timebomb! | inc %lottery. [ $+ [ $nick ] ] %winning3 }
if (%timebombrand == 11) { /var %winning3 $rand(2,5) | timer 1 3 notice $nick You find %winning3 chance coupons inside the timebomb! | inc %lottery. [ $+ [ $nick ] ] %winning3 }
if (%timebombrand == 12) { timer 1 3 notice $nick You find nothing in the timebomb }
}
else {
notice $nick You dont got any timebombs!
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:!buy joke:#: {
if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if (%chancejoke. [ $+ [ $nick ] ] == 59) { notice $nick You got all 59 jokes. To read them type !read joke (a number between 1 and 59) }
elseif (%chancescore. [ $+ [ $nick ] ] > 9 ) {
/inc %chancejoke. [ $+ [ $nick ] ] 1
/dec %chancescore. [ $+ [ $nick ] ] 10
/notice $nick You have bought a joke for 10 chance-points. To read it type !read joke $iif(%chancejoke. [ $+ [ $nick ] ], $v1, 0) $+
notice $nick You now got $iif(%chancejoke. [ $+ [ $nick ] ], $v1, 0) out of 59 jokes
}
else {
notice $nick You dont have 10 chance-points to buy a joke with!
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:!list jokes:#: { if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if (%chancejoke. [ $+ [ $nick ] ] == $null) { notice $nick You dont have any jokes! You can buy them for 10 chance-points each by saying !buy joke
}
else {
notice $nick You got $iif(%chancejoke. [ $+ [ $nick ] ], $v1, 0) out of 59 jokes! To read them type !read joke (a number between 1 and $iif(%chancejoke. [ $+ [ $nick ] ], $v1, 0) $+ $chr(41)
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}
on *:TEXT:!read joke *:#: {
if ($iif(%activatechan. [ $+ [ $chan ] ], $v1, 0) == Activated) {
if (%chancejoke. [ $+ [ $nick ] ] == $null) { notice $nick You dont have any jokes! You can buy them for 10 chance-points each by saying !buy joke | halt }
if ($3 isnum 1-59) {
if (%chancejoke. [ $+ [ $nick ] ] < $3) { notice $nick You dont got joke number $3 $+ . You only got $iif(%chancejoke. [ $+ [ $nick ] ], $v1, 0) out of 59 jokes }
else {
if ($3 == 1) { /notice $nick Joke number 1: How do you keep a blonde busy for hours? | notice $nick Scroll Down. ---> | notice $nick 0. | notice $nick <----- Scroll Up. }
if ($3 == 2) { /notice $nick Joke number 2: I'm not offended by all the dumb blonde jokes because I know I'm not dumb...and I also know that I'm not blonde. - Dolly Parton }
if ($3 == 3) { /notice $nick Joke number 3: A blonde, a brunette and a redhead are running from the cops. They hide on a potato farm. They crawl into some potato bags. The first cop pokes the bag with the brunette in it. She says, "Meow." The cop confirms that it is just a cat. The second cop pokes the bag with the redhead in it. She says, "Woof." The cop says that it is just a dog. The third cop pokes the bag with the blonde in it. She say in her sweetest voice, "Potato." }
if ($3 == 4) { /notice $nick Joke number 4: There is a brunette and a blonde hanging over the edge of a cliff off a piece of rope. They realize that the rope will break if one of them doesn't let go and they will both fall to their deaths. The brunette starts this big heartwarming speech about how she is going to sacrifice herself. At the end of the speech the blonde starts clapping. }
if ($3 == 5) { /notice $nick Joke number 5: I'm not into working out. My philosophy: No pain, no pain. - Carol Leifer }
if ($3 == 6) { /notice $nick Joke number 6: One day there was a blind man walking down the street and he smelled oranges, so he bought some fruit. He smelled some pastries, so he bought some donuts. Then he walked passed a fish market, took a hard sniff, and said, "Hello ladies!" }
if ($3 == 7) { /notice $nick Joke number 7: For Sale: Parachute. Only used once, never opened, small stain. }
if ($3 == 8) { /notice $nick Joke number 8: You never really learn to swear until you learn to drive. }
if ($3 == 9) { /notice $nick Joke number 9: All men think about are sports and money, oh yeah did I say the bed? }
if ($3 == 10) { /notice $nick Joke number 10: The older you get, the better you realize you were. }
if ($3 == 11) { /notice $nick Joke number 11: NASA has a animal specialist program which they have the make a map, of where human population is! }
if ($3 == 12) { /notice $nick Joke number 12: If Barbie is so popular, why do you have to buy her friends? }
if ($3 == 13) { /notice $nick Joke number 13: Love may be blind, but marriage is a real eye-opener }
if ($3 == 14) { /notice $nick Joke number 14: One laugh = 3 tablespoons of oat bran. - Barbara Johnson }
if ($3 == 15) { /notice $nick Joke number 15: In America, they say it's 10:00 do you know where your children are? In England, they say it's 10:00 do you know where your husband is? In Paris, they say it's 10:00 do you know where your wife is? And in Poland, they say it's 10:00 do you know what time it is? }
if ($3 == 16) { /notice $nick Joke number 16: Two little potatoes are standing on the street corner. One is a prostitute. How can you tell which one is the prostitute? It's the one with the little sticker that says... I - DA - HO }
if ($3 == 17) { /notice $nick Joke number 17: When everything's coming your way, you're in the wrong lane }
if ($3 == 18) { /notice $nick Joke number 18: What is a hooker in Alaska called? A frostitute! }
if ($3 == 19) { /notice $nick Joke number 19: What's the difference between a porsche and a hedgehog? A hedgehog has pricks on the outside! }
if ($3 == 20) { /notice $nick Joke number 20: My mind like a steel trap - rusty and illegal in 37 states. }
if ($3 == 21) { /notice $nick Joke number 21: Two ducks go on their honeymoon and stay in a hotel. As they are about to make love, the male duck says, ''Oh, we haven't got any condoms. I'll ring down to room service.'' He calls and asks for some condoms. The woman says, ''OK sir, would you like to put them on your bill?' ''No,'' he says, ''I'll suffocate!'' }
if ($3 == 22) { /notice $nick Joke number 22: Anytime four New Yorkers get into a cab together without arguing, a bank robbery has just taken place. - Johnny Carson }
if ($3 == 23) { /notice $nick Joke number 23: The only substitute for good manners is fast reflexes. }
if ($3 == 24) { /notice $nick Joke number 24: Experience is something you don't get until just after you need it }
if ($3 == 25) { /notice $nick Joke number 25: Two blondes were driving down the road. The blonde driving looks at her friend in the passenger seat and asks her to see if her blinker is working. So the blonde looks out the window and says, ''Yes. No. Yes. No.'' }
if ($3 == 26) { /notice $nick Joke number 26: Why does a blonde put perfume on her ankles? Because it ends up behind her ears anyway! }
if ($3 == 27) { /notice $nick Joke number 27: What happens if you get scared half to death twice? }
if ($3 == 28) { /notice $nick Joke number 28: Half the people you know are below average }
if ($3 == 29) { /notice $nick Joke number 29: Shin: a device for finding furniture in the dark. }
if ($3 == 30) { /notice $nick Joke number 30: Two blondes were in a parking lot trying to unlock the door of their Mercedes with a coat hanger. They tried and tried to get the door open, but they couldn't. The blond with the coat hanger stopped for a moment to catch her breath, and her friend said anxiously, "Hurry up! It's starting to rain and the top is down." }
if ($3 == 31) { /notice $nick Joke number 31: While waiting at a cross walk for the light to change, a blonde asked why the signal was buzzing. When she was told that it was to let blind people know when the light was red, she replied, "What in the world are blind people doing driving?" }
if ($3 == 32) { /notice $nick Joke number 32: Many people quit looking for work when they find a job }
if ($3 == 33) { /notice $nick Joke number 33: One day, a little boy wrote to Santa Clause, "Please send me a sister." Santa Clause wrote him back, "Ok, send me your mother." }
if ($3 == 34) { /notice $nick Joke number 34: Q: Why doesn't Tigger have any friends? A: He plays with Pooh }
if ($3 == 35) { /notice $nick Joke number 35: A guy was smoking a cigarette. Another guy comes up to him and asks, "Do you have an extra cigarette?" The first guy looks at the box and reads that it contains 20 cigarettes. He counts all the cigarettes in his box and says,"Nope, don't got any extra cigarettes". }
if ($3 == 36) { /notice $nick Joke number 36: Three Wise men were going to heaven, but before that, they each had to answer a question from God. The first Wise Man came up and God asked him, "Who was the first man on earth?" He answered Adam and was let in. The second Wise Man came up and God asked him, "Who was the first women on earth?" He answered Eve and was let in. The thrid Wise Man came up and God asked "What was the first thing Eve said to Adam?" He thought for a moment, "Hmm, that's a hard one..." And God said, you may be let into Heaven. }
if ($3 == 37) { /notice $nick Joke number 37: What do you call cheese that is not yours? Nachocheese. }
if ($3 == 38) { /notice $nick Joke number 38: When the media does it, it's called "news coverage." When an individual does it, it's called "stalking." }
if ($3 == 39) { /notice $nick Joke number 39: How do you turn a dishwasher into a snowplow? Give her a shovel. }
if ($3 == 40) { /notice $nick Joke number 40: A graduate with a science degree asks, "Why does it work?" A graduate with an engineering degree asks, "How does it work?" A graduate with an accounting degree asks, "How much it cost?" A graduate with a liberal arts degree asks, "Do you want fries with that?" }
if ($3 == 41) { /notice $nick Joke number 41: A ham sandwich walks into a bar and asks the bartender for a cold one. The bartender replies, "Sorry, we don't serve food here." }
if ($3 == 42) { /notice $nick Joke number 42: What does a leprechaun call a happy man wearing green? A jolly green giant. }
if ($3 == 43) { /notice $nick Joke number 43: What do you call an Alabama farmer with a sheep under each arm? A pimp. }
if ($3 == 44) { /notice $nick Joke number 44: Why are there no amusement parks in China? Because no one is tall enough to ride the rides! }
if ($3 == 45) { /notice $nick Joke number 45: When a blonde working at the local Taco Bell was asked to put minimal lettuce on an order she replied, "I'm sorry, we only have iceberg." }
if ($3 == 46) { /notice $nick Joke number 46: A blonde was driving down the highway when she read a sign saying, "Clean Restrooms Next 10 Miles." She was really late for her appointment since there were 26 restrooms to clean. }
if ($3 == 47) { /notice $nick Joke number 47: A waiter asks a man, “May I take your order, sir?” “Yes,” the man replies. “I’m just wondering, exactly how do you prepare your chickens?” “Nothing special, sir. We just tell them straight out that they’re going to die.” }
if ($3 == 48) { /notice $nick Joke number 48: Why did the monkey fall out of the tree? | timer 1 5 notice $nick Because it was dead. }
if ($3 == 49) { /notice $nick Joke number 49: How many surrealists does it take to screw in a lightbulb? "Fish" }
if ($3 == 50) { /notice $nick Joke number 50: What's green, fuzzy, has 4 legs, and, if it falls out of a tree, can kill you? A pool table. }
if ($3 == 51) { /notice $nick Joke number 51: A blind guy, a deaf guy, and an armless guy were in a cave. All of a sudden, a blind guy said he heard something, the deaf guy said he saw something, and the armless guy said "Let's kick his ass!" }
if ($3 == 52) { /notice $nick Joke number 52: Why does a blonde put perfume on her ankles? Because it ends up behind her ears anyway! }
if ($3 == 53) { /notice $nick Joke number 53: Why do blondes always smile during lightning storms? | timer 1 5 notice $nick They think their picture is being taken. }
if ($3 == 54) { /notice $nick Joke number 54: What do smart blondes and UFOs have in common? | timer 1 5 notice $nick You always hear about them but you never see them. }
if ($3 == 55) { /notice $nick Joke number 55: Why does it take longer to build a blonde snowman as opposed to a regular one? | timer 1 5 notice $nick You have to hollow out the head. }
if ($3 == 56) { /notice $nick Joke number 56: Q: What is your date of birth? A: July fifteenth. Q: What year? A: Every year. }
if ($3 == 57) { /notice $nick Joke number 57: Q: All your responses must be oral, okay? What school did you go to? A: Oral }
if ($3 == 58) { /notice $nick Joke number 58: Q: Sir, what is your IQ? A: Well, I can see pretty well, I think. }
if ($3 == 59) { /notice $nick Joke number 59: What did the blonde say when she opened the box of Cheerios? | timer 1 5 notice $nick "Oh, look, Daddy ... doughnut seeds" }
}
}
else {
notice $nick There are only 1 to 59 jokes!! You got $iif(%chancejoke. [ $+ [ $nick ] ], $v1, 0) out of 59 jokes.
}
}
else {
notice $nick All the chance-points scripts in $chan are deactivated
}
}