mIRC Snippet:
Rock Paper Scissors
Posted on Jun 12, 2008 12:08 am
Posted on Jun 12, 2008 12:08 am
Sometimes, when its done, it repeats.
[22:22] <trueeevil> talroma and cmc both chose paper. Game is tied!
[22:22] <trueeevil> talroma and cmc both chose . Game is tied!
[22:22] <trueeevil> talroma and cmc both chose . Game is tied!
[22:22] <trueeevil> talroma and cmc both chose . Game is tied!
[22:22] <trueeevil> talroma and cmc both chose paper. Game is tied!
[22:22] <trueeevil> talroma and cmc both chose . Game is tied!
[22:22] <trueeevil> talroma and cmc both chose . Game is tied!
[22:22] <trueeevil> talroma and cmc both chose . Game is tied!
mIRC Snippet:
Slot Machine game
Posted on May 9, 2008 7:51 pm
Posted on May 9, 2008 7:51 pm
perfect thanks....
and one more thing how who i make it show stats for everyone @ once rather then single..
like this:
ViRuS\'s Slot Machine stats: Won Amount: 712 Lost games: 453 Net: 259
AuToMaG\'s Slot Machine stats: Won Amount: 320 Lost games: 250 Net: 123
and so on...thanks again i\'m not that good @ this script stuff...lol
and one more thing how who i make it show stats for everyone @ once rather then single..
like this:
ViRuS\'s Slot Machine stats: Won Amount: 712 Lost games: 453 Net: 259
AuToMaG\'s Slot Machine stats: Won Amount: 320 Lost games: 250 Net: 123
and so on...thanks again i\'m not that good @ this script stuff...lol
mIRC Snippet:
Slot Machine game
Posted on May 9, 2008 6:50 pm
Posted on May 9, 2008 6:50 pm
Oh and don\'t forget, I worked out the win % in my head and just put that number into the script
NOTICE $nick Chance of winning: 1.5625% Number of Winners: %Winnerss
SHOULD read 1.234%, 1.5625% is for 8 symbols (I\'m using 9), you\'ll have to do the working out yourself for how many symbols you will be using.
NOTICE $nick Chance of winning: 1.5625% Number of Winners: %Winnerss
SHOULD read 1.234%, 1.5625% is for 8 symbols (I\'m using 9), you\'ll have to do the working out yourself for how many symbols you will be using.
mIRC Snippet:
Slot Machine game
Posted on May 9, 2008 6:46 pm
Posted on May 9, 2008 6:46 pm
Yeah automag, change the number of \"Pictures\"
Here:
on *:LOAD:{
SET %Winners 0
SET %jackpot 100
SET %symbol.0 1,8 BELL
SET %symbol.1 1,4 CHERRY
SET %symbol.2 1,6 PLUM
SET %symbol.3 1,9 WEED
SET %symbol.4 0,4 STRAWBERRY
SET %symbol.5 0,1 COAL
SET %symbol.6 1,11 BLUEBERRY
SET %symbol.7 1,7 ORANGE
SET %symbol.8 4,3 APPLE
}
Take out as many lines as you want, leaving atleast 3 in. There are 9 there, my initial calculation was for 8, so when the !stats shows the win %, it\'s wrong... The real number is 1.234%
If you do take out one/some in that list, please make sure you also mofify:
SET %col.0 %symbol. [ $+ [ $rand(0,8) ] ]
SET %col.1 %symbol. [ $+ [ $rand(0,8) ] ]
SET %col.2 %symbol. [ $+ [ $rand(0,8) ] ]
$rand(0,8) <-- This is for 9 symbols, change it from 0,8 based on how many you use, for example if you you six... you\'d enter 0,5 in each of the three lines
Here:
on *:LOAD:{
SET %Winners 0
SET %jackpot 100
SET %symbol.0 1,8 BELL
SET %symbol.1 1,4 CHERRY
SET %symbol.2 1,6 PLUM
SET %symbol.3 1,9 WEED
SET %symbol.4 0,4 STRAWBERRY
SET %symbol.5 0,1 COAL
SET %symbol.6 1,11 BLUEBERRY
SET %symbol.7 1,7 ORANGE
SET %symbol.8 4,3 APPLE
}
Take out as many lines as you want, leaving atleast 3 in. There are 9 there, my initial calculation was for 8, so when the !stats shows the win %, it\'s wrong... The real number is 1.234%
If you do take out one/some in that list, please make sure you also mofify:
SET %col.0 %symbol. [ $+ [ $rand(0,8) ] ]
SET %col.1 %symbol. [ $+ [ $rand(0,8) ] ]
SET %col.2 %symbol. [ $+ [ $rand(0,8) ] ]
$rand(0,8) <-- This is for 9 symbols, change it from 0,8 based on how many you use, for example if you you six... you\'d enter 0,5 in each of the three lines
mIRC Snippet:
Slot Machine game
Posted on May 9, 2008 5:39 pm
Posted on May 9, 2008 5:39 pm
great game :) well done, it\'s simple, yet fun.
mIRC Snippet:
Slot Machine game
Posted on May 9, 2008 3:07 pm
Posted on May 9, 2008 3:07 pm
fun game to play but is there any way of changing the win %
mIRC Snippet:
Slot Machine game
Posted on May 5, 2008 5:25 pm
Posted on May 5, 2008 5:25 pm
Fixed :)
I wrote it with the intention of keeping it for my own community tbh, and so for myself, but now it\'s released it\'s only right that I make it smaller and more efficient :D
I wrote it with the intention of keeping it for my own community tbh, and so for myself, but now it\'s released it\'s only right that I make it smaller and more efficient :D
mIRC Snippet:
Rock Paper Scissors
Posted on May 5, 2008 5:19 pm
Posted on May 5, 2008 5:19 pm
Thanks vaseline, I know the script sucks and like I said, it\'s my first big game and I kinda rushed it (took me about 3 hours in total from starting to ironing out nearly all the bugs).
AHBARAR Nice idea, if Vaseline lets me I could easily incorporate his latest script (the singleplayer rock/paper/scissors one). I don\'t steal though, and there\'s no way I could be bothered to write a single player side of it myself since I write my scripts for a community which is very active.
AHBARAR Nice idea, if Vaseline lets me I could easily incorporate his latest script (the singleplayer rock/paper/scissors one). I don\'t steal though, and there\'s no way I could be bothered to write a single player side of it myself since I write my scripts for a community which is very active.
mIRC Snippet:
Slot Machine game
Posted on May 5, 2008 1:59 pm
Posted on May 5, 2008 1:59 pm
Just do:
instead of doing it for each number ;)
| Code: |
unset %symbol.* |
instead of doing it for each number ;)
mIRC Snippet:
Rock Paper Scissors
Posted on May 5, 2008 11:10 am
Posted on May 5, 2008 11:10 am
not bad script mate and since u wanna update it let me ask u a lil idea .. >:P
put some time for the bot tht if player 2 didnt join after some time the bot will challenge the player 1 u may find some other guys script having tht on hawkee try to have some ideas from them and make ur addon the best >;)
wish u best luck
put some time for the bot tht if player 2 didnt join after some time the bot will challenge the player 1 u may find some other guys script having tht on hawkee try to have some ideas from them and make ur addon the best >;)
wish u best luck
mIRC Snippet:
Rock Paper Scissors
Posted on May 5, 2008 9:30 am
Posted on May 5, 2008 9:30 am
Instead of doing:
You could simply do:
Which means that if %rps.1t is the same as %rps.2t then you get to draw, which cuts out two of the IF statements
| Quote: |
| alias faceoff { IF (%rps.1t == rock) && (%rps.2t == rock) /draw { IF (%rps.1t == scissors) && (%rps.2t == scissors) /draw { IF (%rps.1t == paper) && (%rps.2t == paper) /draw { |
You could simply do:
| Quote: |
| IF (%rps.1t == %rps.2t) /draw { |
Which means that if %rps.1t is the same as %rps.2t then you get to draw, which cuts out two of the IF statements
mIRC Snippet:
Slot Machine game
Posted on May 4, 2008 6:57 pm
Posted on May 4, 2008 6:57 pm
Update: Already added !stats and said so in the introduction
mIRC Snippet:
Slot Machine game
Posted on May 4, 2008 3:41 pm
Posted on May 4, 2008 3:41 pm
Btw if you have a community website with its own \"currency\" (Like mine has points which you accumulate by posting in the forums and spend by changing your avatar/title etc) Then you can add a socket script in that client and use this game to give the winner all the accumulated game points.
It\'s addictive for large channels without this, even more so with, I\'ve had it finished for under 2 hours and already more than 500 in points has been given away!
It\'s addictive for large channels without this, even more so with, I\'ve had it finished for under 2 hours and already more than 500 in points has been given away!
mIRC Snippet:
Slot Machine game
Posted on May 4, 2008 3:24 pm
Posted on May 4, 2008 3:24 pm
on *:INPUT:#: { set %chanslot $chan | set %nickslot $me | inc %jackpot | notice %nickslot 1 point added to the jackpot | MSG %chanslot [SLOT-MACHINE] Current Jackpot: %jackpot ::: Rolling the wheels. | PLAYSLOT }
^ Single player code, or better yet split everything off after set %nickslot onto an alias and use it instead for both
^ Single player code, or better yet split everything off after set %nickslot onto an alias and use it instead for both





