Styx15 Posted May 8, 2022 Group: Members Topic Count: 25 Topics Per Day: 0.02 Content Count: 48 Reputation: 0 Joined: 09/28/20 Last Seen: 3 hours ago Share Posted May 8, 2022 (edited) Hello i need hourly reward only in maintown ex only in prontera . someone can help me to set that ? This is script i used. Thank you prontera,100,100,5 script hourlypoints 139,8,11,{ end; OnTouch: dispbottom "Stay here to get afk hourly points."; attachnpctimer(); startnpctimer(); end; OnTimer10000: getmapxy(.@map$,.@x,.@y,0); if( distance(.x,.y,.@x,.@y)<=11 && .@map$==.map$ ) { if( checkidle() ) { getitem(12875,1); dispbottom "Thank you for always stay near me"; set @consecutive_hour, @consecutive_hour + 1; //Check for 1 hours consecutive if(@consecutive_hour == 1) { set @consecutive_hour,0; getitem(12875,1); dispbottom "Thank you for always stay near me"; } } } attachnpctimer(); initnpctimer(); end; OnInit: getmapxy(.map$,.x,.y,1); set .cpoint_amt, 50; //Points gained for consecutive time online. set .point_amt, 10; //Normal points gained. } Edited May 8, 2022 by Styx15 Quote Link to comment Share on other sites More sharing options...
0 mR L Posted May 10, 2022 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 177 Reputation: 26 Joined: 12/24/14 Last Seen: December 25, 2024 Share Posted May 10, 2022 Quote Link to comment Share on other sites More sharing options...
0 Styx15 Posted May 15, 2022 Group: Members Topic Count: 25 Topics Per Day: 0.02 Content Count: 48 Reputation: 0 Joined: 09/28/20 Last Seen: 3 hours ago Author Share Posted May 15, 2022 On 5/10/2022 at 7:40 PM, mR L said: Thank you @mR L Quote Link to comment Share on other sites More sharing options...
Question
Styx15
Hello i need hourly reward only in maintown ex only in prontera .
someone can help me to set that ?
This is script i used.
Thank you
prontera,100,100,5 script hourlypoints 139,8,11,{ end; OnTouch: dispbottom "Stay here to get afk hourly points."; attachnpctimer(); startnpctimer(); end; OnTimer10000: getmapxy(.@map$,.@x,.@y,0); if( distance(.x,.y,.@x,.@y)<=11 && .@map$==.map$ ) { if( checkidle() ) { getitem(12875,1); dispbottom "Thank you for always stay near me"; set @consecutive_hour, @consecutive_hour + 1; //Check for 1 hours consecutive if(@consecutive_hour == 1) { set @consecutive_hour,0; getitem(12875,1); dispbottom "Thank you for always stay near me"; } } } attachnpctimer(); initnpctimer(); end; OnInit: getmapxy(.map$,.x,.y,1); set .cpoint_amt, 50; //Points gained for consecutive time online. set .point_amt, 10; //Normal points gained. }
Link to comment
Share on other sites
2 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.