!roulette

By WacKy- on Dec 15, 2004

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.
  }
}

Comments

Sign in to comment.
DarthReven   -  Dec 20, 2004

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.

 Respond  
Da_DoN   -  Dec 16, 2004

DarthReven, the \"It\'s a nice script\" part was nice, but the other wasn\'t, Please be friendly :)

 Respond  
DarthReven   -  Dec 15, 2004

Its a nice script but there are better ones

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.