Lucy Pick Event Mechanics: i want a Lucy Pick Event that will 1. Randomly choose only "1 player currently online" in the server. 2. it will Randomly choose only "1 player currently online" in Random Time also
3. The choosen one will recieve reward Donation_Ticket item id 7179.
check the script below if it is correct???
prontera,164,164,5scriptLuck Pick Event843,{
OnInit:
OnClock0000:
OnClock0600:
OnClock1200:
OnClock1800:
OnClock2400:
set .LuckyTime,rand(24);
OnMinute00:
if( gettime(3) == .LuckyTime ){
set .DelayMin,rand(60);
sleep ( .DelayMin * 60000 );
while(1){
query_sql "select account_id from `char` where online = 1 order by rand() limit
1", .@aid;
attachrid .@aid;
if( CheckVending() ){
DetachRID();
continue;
}
announce strcharinfo(0) +" won in Lucky Pick Event.", 0,0x99FFFF;
Question
Renji Abarai
i want a Lucy Pick Event that will
1. Randomly choose only "1 player currently online" in the server.
2. it will Randomly choose only "1 player currently online" in Random Time also
prontera,164,164,5 script Luck Pick Event 843,{
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.