viewing paste daily / per 10 hour reward | Athena

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
prontera,155,181,5  script  Sample  757,{
set .@today,atoi( gettimestr( "%Y%m%d",21 ) );
if( #daily_reward != .@today ){
    set #daily_reward,.@today;
    getitem 512,1;
    getitem 512,2;
    getitem 512,3;
    mes "Gained daily reward.";
}else{
    mes "You already get it.";
}
close;
}
 
 
prontera,155,181,5  script  Sample  757,{
set .@time,gettimetick(1);
 
if( .@time > #reward_time ){
    set #reward_time,( .@time + ( 3600 * 10 ) );
    getitem 512,1;
    getitem 512,2;
    getitem 512,3;
    mes "Gained daily reward.";
}else{
    mes "You already get it.";
}
close;
}
Viewed 1262 times, submitted by Emistry.