Advanced roulette game, just copy this into a text file , save it in ur mirc dir as roulette.mrc
type /load -rs roulette.mrc once its loaded type !roulette in any channe ur bot is in!
its a 1 in 10 chances of winning, so its very hard :)
on *:text:*!roulette*:#:{
if (%roullette) { .msg $chan Sorry There's All Ready Someone Playing, Please Wait Untill Its Next Player.
}
elseif ($me isop $chan) {
.set %roul.target $nick
.set %roul.ball $rand(1,10)
timer 1 1 .msg $chan $nick You Are Ready To Play Roulette !!!!!
timer 1 2 .msg $chan Pick A Number Between 1 and 10 To Player , use " !number <num> " You Have 30 Seconds To Guess The Number !
timer 1 3 .msg $chan If You Get It Right You'r Ok, But If You Get It Wrong, Im Afraid I'll Have To Kick You, Understood ?
timer 1 10 .msg $chan 30 Seconds And Counting.
timer 1 20 .msg $chan 20 Seconds And Counting.
timer 1 30 .kick $chan $nick You Didnt Choose A Number !!!!!!!
timer 1 31 .unset %roul.ball
timer 1 31 .unset %roul.target
timer 1 31 .msg $chan Next Player
}
else .msg $chan I Need To Be Oped In $chan In Order To Start $1
}
on *:text:!number*:#:{
if ($2 == %roul.ball) && ($nick == %roul.target) { .msg $chan WP $Nick You Got It Right !!!!!
.unset %roul.target
.unset %roul.ball
/timers off
/msg $chan Next Player.
}
elseif ($2 != %roul.ball) && ($nick == %roul.target) { .kick $chan $nick UL $nick You Got It Wrong ! The Number Was %roul.ball !!!
.unset %roul.target
.unset %roul.ball
/timers off
/msg $chan Next Player.
}
}
Its a simple comment yes its a good script but to be perfectly frank there are better scripts out there in my opinion. Commentary isn\'t inherently rude or nice comments are intended as explanations, illustrations, or criticisms of something such as a mIRC script. The User comments are a voice where in other hawkee members can give criticism about a script and not necessarily forcing the author to go bad and redo the entire script but to make it better. There is always a way to make a script better whether it be in its commands, the way it executes operations, its interface, or any other aspect there is always something we can do better. We as scripters have an intrinsic duty of making mIRC scripts that make other mIRC users online lives easier and fun. If not even for the other mIRC uses in the world then our selves. So I say script on and make mIRC a better more fun and easier to use program then ever.