greenieken 0 Posted June 28, 2017 May I request for a modification. Instead of every hour, make it every 10 minutes. Instead of points, change to item. Stop when vending and pub, but allows AFK. Quote Share this post Link to post Share on other sites
0 Happy 28 Posted July 18, 2017 On 6/28/2017 at 10:34 AM, greenieken said: May I request for a modification. Instead of every hour, make it every 10 minutes. Instead of points, change to item. Stop when vending and pub, but allows AFK. Hi! Do you still need it? Quote Share this post Link to post Share on other sites
0 Katar 0 Posted August 24, 2017 hi need it can u send me script in notepod Quote Share this post Link to post Share on other sites
0 greenieken 0 Posted September 6, 2017 @Happy hi happy. can i have the script Quote Share this post Link to post Share on other sites
0 Happy 28 Posted September 7, 2017 Send / post the hourly script you had and i'll modify it. Quote Share this post Link to post Share on other sites
0 greenieken 0 Posted September 7, 2017 I saw this script that annie used coz i've heard that the strcharinfo(0)+ may cause lag. I haven't tried this yet in my server, can you check if this is compatible with the latest herc? thanks! @Happy Spoiler - script ksdfskjfhs -1,{ OnPCLoginEvent: dispbottom "Your timer starts now. You will receive 10 minute tickets after being online for 10 minutes"; while (1) { if ( checkvending() != 2 ) { .@hourpointtick++; if ( .@hourpointtick > .tick ) { dispbottom "You have received 10 minute tickets"; getitem 7227, 10; .@hourpointtick = 0; } } sleep2 .sleeploop; } end; // doesn't read OnInit: .sleeploop = 10000; // every 30 seconds .tick = 1; // loop 60 times of 30 seconds == 30 minutes end; } Quote Share this post Link to post Share on other sites
0 Happy 28 Posted September 7, 2017 (edited) Instead of every hour, make it every 10 minutes. Instead of points, change to item. Stop when vending and pub, but allows AFK. /* Instead of every hour, make it every 10 minutes. Instead of points, change to item. Stop when vending and pub, but allows AFK. */ - script ksdfskjfhs -1,{ OnPCLoginEvent: dispbottom "Your timer starts now. You will receive 10 minute tickets after being online for 10 minutes"; while (1) { if ( checkvending() != 2 && !checkchatting() ) { .@hourpointtick++; if ( .@hourpointtick > .tick ) { dispbottom "You have received 10 minute tickets"; getitem 7227, 10; .@hourpointtick = 0; } } sleep2 .sleeploop; } end; // doesn't read OnInit: .sleeploop = 30000; // every 30 seconds .tick = 20; // loop 60 times of 30 seconds == 30 minutes end; } There you go, I'll leave the testing to you though just post here again if there are errors Might be better to use timers, i think there is already an hourly point reward somewhere with timers. Just try to search around. Edited September 7, 2017 by Happy Quote Share this post Link to post Share on other sites
0 greenieken 0 Posted September 8, 2017 @Happy Hey it's working. Thank you so much. I have another request, can i tag you in my new post? lol Quote Share this post Link to post Share on other sites
0 greenieken 0 Posted September 8, 2017 2 hours ago, Happy said: sure Tagged u already Quote Share this post Link to post Share on other sites
May I request for a modification.
Instead of every hour, make it every 10 minutes.
Instead of points, change to item.
Stop when vending and pub, but allows AFK.
Share this post
Link to post
Share on other sites