- script hourlypoints -1,{
//--Start of the Script
OnPCLoginEvent:
attachnpctimer ""+strcharinfo(0)+"";
initnpctimer;
end;
OnTimer1000:
//Check if Vending (normal or @at)
if(checkvending() >= 1 || checkchatting() == 1) {
dispbottom "The hourly badge rewards has stopped because you were vending / Pub Room. Please re-log if you wish to start again.";
stopnpctimer;
end;
}
OnTimer5000:
set @minute, @minute + 1;
//Check for 1 Minute
if(@minute == 15){
set @minute,0;
set #CASHPOINTS, #CASHPOINTS + 20;
dispbottom "You received 20 CASHPOINTS for staying 15 minute in-game.";
set @consecutive_hour, @consecutive_hour + 1;
}
//Check for 1 hours consecutive
if(@consecutive_hour == 1) {
set @consecutive_hour,0;
set #CASHPOINTS, #CASHPOINTS + 100;
dispbottom "You received 100 CASHPOINTS for staying 1 hours in-game.";
}
stopnpctimer;
initnpctimer;
end;
}
i try edit to every 15 minute got reward. but i not get the reward.. can someone fix it ?
Question
mrlongshen
i try edit to every 15 minute got reward. but i not get the reward.. can someone fix it ?
Edited by mrlongshen9 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.