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.
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
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.
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!
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
======================Rock Paper Scissors IRC Game============================ :::Version 1.4 :::::Written by cr0sis - irc.affinitygamers.com - ::::::Copyright � 2008 cr0sis @ www.affinitygamers.com :::::::Use and reproduction of this script is permitted as long as the readme is present and unchanged.