First, I do not have any idea if this topic was taken already.
Second, Thank you in advance if you would help me out.
Third, Sorry for disturbing.
So here it goes.
- script Hourly Points -1,{
OnTimer000:
if(checkvending() >= 0 || checkchatting() == 0)
{
stopnpctimer;
end;
}
OnTimer00000:
if( #minute == 0 )
{
set #minute,0;
set .@point_amt, 0;
set #KAFRAPOINTS, #KAFRAPOINTS + .@point_amt;
set #consecutive_hour, #consecutive_hour + 0;
}
if(#consecutive_hour == 0)
{
set #consecutive_hour, 0;
set .@point_amt, 0;
set #KAFRAPOINTS, #KAFRAPOINTS + .@point_amt;
}
end;
}
This script is account-based, stops the Hourly Points if the user is Vending/OnPub but I've edited 50% of that script because I will just request; how to have IN ONE NPC the following:
1. Hourly Points Checker (checks how many points a player has with his/her account)
2. Log In to Hourly Points System (which is hassle-free so players will no longer need to relog if they were vending, in a chat/pub, or idle - 'coz the system restricts a player from vending/pub)
3. A shop
Looking forward for replies.
Again, thank you very much.