- script AutoFunEvent -1,{
OnClock0100:
OnClock0300:
OnClock0500:
OnClock0700:
OnClock0900:
OnClock1100:
OnClock1300:
OnClock1500:
OnClock1700:
OnClock1900:
OnClock2100:
OnClock2300:
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;
set $@ran2, rand(1,8);
if ($@ran2 == 8) set @prize,4399;
if ($@ran2 == 7) set @prize,579;//Fresh Fish
if ($@ran2 == 6) set @prize,13710;
if ($@ran2 == 5) set @prize,674;
if ($@ran2 == 4) set @prize,969;
if ($@ran2 == 3) set @prize,671;
if ($@ran2 == 2) set @prize,14524;
if ($@ran2 == 1) set @prize,7773;
set $@ran3, rand(1,3);
if ($@ran3 == 3) set @amount,50;
if ($@ran3 == 2) set @amount,10;
if ($@ran3 == 1) set @amount,100;
break;
}
end;
}
Question
madtoyz
The prize is not given to players.
Link to comment
Share on other sites
10 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.