Event Lottery Script

Written by: Headmaster
// Event Lottery Script by Ama Omega
//This is a simple script for randomly awarding money to event attendies. Everyone who wishes to enter simply clicks the object the script is on. To find a winner the owner of the object says 'Find Winner'. This can be repeated as often as needed to find as many winners as possible. After a name has 'won' it is removed from the pool. This is a simple script.
 
list names;
integer i;
integer j;
integer count;
string name;
 
integer find(string name)
{
    for (i=0;i

 

Category: