Lottery System!
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 7.0 (of 1 scores) |
| Date Added | Jan 02, 2008 |
| Last Updated | Jan 02, 2008 |
| Tags | admin award controlled free fun lottery |
Introduction
Now I'm still not very good at scripting, but this is a really good one for me, even though it doesn't really use any advance scripts.
Also, thanks to Shadowmajestic, admin of http://www.revpermin.com/ for helping me with the if statement in the !joinlottery part.
Anyways, this is how it works!!!
Here are user commands...
*!lottery
Gives info about the lottery
*!startlottery
Pms the owner to start it
*!joinlottery
Once the lottery has started, to 'submit a ballot with your name on it'
*!admin
If they've won, can choose this to be admin for the day
*!box
If they've won, can choose the mystery box (filled with 6 different things, 3 of which are nothing)
Bot's Commands
Right click anywhere in channel and choose Lottery>On. This will start it.
Right click anywhere in channel and choose Lottery>Off. This will end it.
FEATURES
Pretty lame preset mystery box choices etc.
Security so someone can't submit their name twice, or when it's off.
Security so you don't get a "mystery box" or "Admin" message from non-winners
Everything already done for you, for the FULLY AUTOMATED system to work, all you have to do is Right Click>Lottery>On, and everything will be doen for you.
No changes in the code, either;this means you don't have to edit the code AT ALL unless you choose to edit something.
Hope you enjoy :D
mIRC Snippet:
Lottery System!
Posted on May 10, 2008 8:06 pm
Posted on May 10, 2008 8:06 pm
I myself wanted to write a lottery script. I had never seen one on here before, so I was intending on writing my own, but I decided to check for a lottery script, and up came yours. I must say, it is pretty nice, especially your choice of prizes. My idea of a lottery script probably not as good. So good work, it looks nice. I tried it out on my bot, but it doesn't seem to want to set %winner. Any ideas if there is something wrong that would not set %winner? I too am a beginner with scripts, but I will try to fool around with it.
mIRC Snippet:
Lottery System!
Posted on May 11, 2008 10:29 am
Posted on May 11, 2008 10:29 am
If set % never works change set to var
mIRC Snippet:
Lottery System!
Posted on Oct 2, 2008 11:01 pm
Posted on Oct 2, 2008 11:01 pm
Hey there, I like your script. xD
However, it messages to the user 'Congratulations' and not the %winner.
So instead of:
use:
Two slashes recognizes $'s and vars.
However, it messages to the user 'Congratulations' and not the %winner.
So instead of:
| Quote: |
| timer 1 305 msg %winner Congratulations, %winner -you have won the lottery! |
use:
| Quote: |
| timer 1 305 //msg %winner Congratulations, %winner - you have won the lottery! |
Two slashes recognizes $'s and vars.
mIRC Snippet:
Lottery System!
Posted on Oct 2, 2008 11:02 pm
Posted on Oct 2, 2008 11:02 pm
Also, you're missing a bracket on !admin and for !box, something's wrong there.
mIRC Snippet:
Lottery System!
Posted on Nov 19, 2008 12:19 pm
Posted on Nov 19, 2008 12:19 pm
can you finish this script ?
mIRC Snippet:
Lottery System!
Posted on Sep 5, 2009 5:40 am
Posted on Sep 5, 2009 5:40 am
I sort of like this script but to me its nothing like the lottery as no numbers are picked etc. I rhink the 5 minute wait abit long too lol. Nice work though 0 yes i know th elast post was nov 19 2008 lol





