- 0
Need ideas on how this can be scripted...
You are about to reply to a thread that has been inactive for 3929 days.
Please take a moment to consider if this thread is worth bumping.
Please take a moment to consider if this thread is worth bumping.
Question
Yamil Dagger
I'm working on a script right now and I've hit a wall. I'm out of ideas on how this can be done... I have a list which is setup by a number then a key, number, key, number...etc
The number is how many chances or 'entries' they have and the key is the person's key. How can I pick a random person/key from the list giving the people with higher entries a better chance of winning? It's kinda similar to the lottery. I can't simply list repeat keys because people can buy 100+ entries so how can this be done?
EDIT: I'm already filtering for duplicates, I just need the randomization part. Thanks for anybody who trys to help!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now