- script hourlypoints -1,{
//--Start of the Script
OnPCLoginEvent:
attachnpctimer ""+strcharinfo(0)+"";
initnpctimer;
end;
OnTimer60000:
set @minute, @minute + 1;
if(@minute == 20){
set @minute,0;
set .@point_amt, 2; //Points to get every hour (default: 10)
if(checkVending()== 1) {
dispbottom "The hourly points event haulted because you were vending, chatting, or idle.";
stopnpctimer;
end;
}
else {
set #CASHPOINTS, #CASHPOINTS + .@point_amt;
dispbottom "You received "+.@point_amt+" cash points for staying in-game for 20 minutes.";
dispbottom "Current Balance = "+#CASHPOINTS+" Cash Points";
set @consecutive_hour, @consecutive_hour + 1;
}
}
if(@consecutive_hour == 1) {
set @consecutive_hour,0;
set .@cpoint_amt, 10; //Points to get for 12 Consecutive hours (default: 50)
set #CASHPOINTS, #CASHPOINTS + .@point_amt;
dispbottom "You received "+.@cpoint_amt+" bonus cash points for playing for 1 hour.";
dispbottom "Current Balance = "+.@point_var$+" Cash Points";
}
stopnpctimer;
initnpctimer;
end;
}
//--End of the Script
Question
TiMz
So the script was working for SVN 17+ but when I downgraded back to 16+, I keep getting errors such as
Here's the script I'm using.
Link to comment
Share on other sites
3 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.