greenieken 0 Posted August 15, 2017 The idea is similar with my current hourly points, however it will just be specific for an active WoE castle. - Gives you 10 woe coin when you stayed inside the active castle for 20 minutes - Succeeding 10 minutes will give you 1 woe coin - If you died, you have to come back within 1 minute or the time will reset Here's my current script for hourly points: Spoiler - script hourpoints -1,{ OnInit: .prize = 7227; // item prize .amount = 5; // item prize amount .hourlypoints = 600; // 60 minutes = 1 hour end; OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer1000: OnTimer2000: OnTimer3000: OnTimer4000: OnTimer5000: OnTimer6000: OnTimer7000: OnTimer8000: OnTimer9000: OnTimer10000: OnTimer11000: OnTimer12000: OnTimer13000: OnTimer14000: OnTimer15000: OnTimer16000: OnTimer17000: OnTimer18000: OnTimer19000: OnTimer20000: OnTimer21000: OnTimer22000: OnTimer23000: OnTimer24000: OnTimer25000: OnTimer26000: OnTimer27000: OnTimer28000: OnTimer29000: OnTimer30000: OnTimer31000: OnTimer32000: OnTimer33000: OnTimer34000: OnTimer35000: OnTimer36000: OnTimer37000: OnTimer38000: OnTimer39000: OnTimer40000: OnTimer41000: OnTimer42000: OnTimer43000: OnTimer44000: OnTimer45000: OnTimer46000: OnTimer47000: OnTimer48000: OnTimer49000: OnTimer50000: OnTimer51000: OnTimer52000: OnTimer53000: OnTimer54000: OnTimer55000: OnTimer56000: OnTimer57000: OnTimer58000: OnTimer59000: if (checkchatting() || checkvending() >= 1) { dispbottom "The hourly points event stopped because you were vending nor chatting. Please relog if you wish to start again."; stopnpctimer; end; } OnTimer60000: set @minute,@minute + 1; if ( @minute == .hourlypoints ) { set @minute, 0; getitem .prize, .amount; } stopnpctimer; initnpctimer; end; } Quote Share this post Link to post Share on other sites
The idea is similar with my current hourly points, however it will just be specific for an active WoE castle.
- Gives you 10 woe coin when you stayed inside the active castle for 20 minutes
- Succeeding 10 minutes will give you 1 woe coin
- If you died, you have to come back within 1 minute or the time will reset
Here's my current script for hourly points:
- script hourpoints -1,{
OnInit:
.prize = 7227; // item prize
.amount = 5; // item prize amount
.hourlypoints = 600; // 60 minutes = 1 hour
end;
OnPCLoginEvent:
attachnpctimer ""+strcharinfo(0)+"";
initnpctimer;
end;
OnTimer1000:
OnTimer2000:
OnTimer3000:
OnTimer4000:
OnTimer5000:
OnTimer6000:
OnTimer7000:
OnTimer8000:
OnTimer9000:
OnTimer10000:
OnTimer11000:
OnTimer12000:
OnTimer13000:
OnTimer14000:
OnTimer15000:
OnTimer16000:
OnTimer17000:
OnTimer18000:
OnTimer19000:
OnTimer20000:
OnTimer21000:
OnTimer22000:
OnTimer23000:
OnTimer24000:
OnTimer25000:
OnTimer26000:
OnTimer27000:
OnTimer28000:
OnTimer29000:
OnTimer30000:
OnTimer31000:
OnTimer32000:
OnTimer33000:
OnTimer34000:
OnTimer35000:
OnTimer36000:
OnTimer37000:
OnTimer38000:
OnTimer39000:
OnTimer40000:
OnTimer41000:
OnTimer42000:
OnTimer43000:
OnTimer44000:
OnTimer45000:
OnTimer46000:
OnTimer47000:
OnTimer48000:
OnTimer49000:
OnTimer50000:
OnTimer51000:
OnTimer52000:
OnTimer53000:
OnTimer54000:
OnTimer55000:
OnTimer56000:
OnTimer57000:
OnTimer58000:
OnTimer59000:
if (checkchatting() || checkvending() >= 1) {
dispbottom "The hourly points event stopped because you were vending nor chatting. Please relog if you wish to start again.";
stopnpctimer;
end;
}
OnTimer60000:
set @minute,@minute + 1;
if ( @minute == .hourlypoints ) {
set @minute, 0;
getitem .prize, .amount;
}
stopnpctimer;
initnpctimer;
end;
}
Share this post
Link to post
Share on other sites