Remember in include the following code in the end after a lot of random selections and scrolling numbers.
This is a standard customisation for all raffles systems in Kenya.
It is a Kenyan thing!
pickthewinner()
{
Var mywinner int
mywinner = 'XXXXXXX' /winning no.
return(mywinner)
}
From: "rsohan@gmail.com" <rsohan@gmail.com>
To: Skunkworks Mailing List <skunkworks@lists.my.co.ke>
Sent: Thu, February 10, 2011 4:25:08 PM
Subject: Re: [Skunkworks] Raffle software
read -p 'Nr of tickets sold? ' TICKETS ; echo 'Winner is ticket #'$((RANDOM % $TICKETS))