DanialFX Posted March 14, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 43 Reputation: 0 Joined: 02/10/14 Last Seen: March 25, 2020 Share Posted March 14, 2014 How to make a AFK point. AFK 5 minute for 1 points. Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 15, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted March 15, 2014 - script AFKpts -1,{ OnPCLoginEvent: CheckAFK: if(checkidle() >= 300) { AFKpts++; dispbottom "You gained 1 AFK point. [Total: "+AFKpts+"]"; } sleep2 300000; goto CheckAFK; end; } 1 Quote Link to comment Share on other sites More sharing options...
DanialFX Posted March 15, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 43 Reputation: 0 Joined: 02/10/14 Last Seen: March 25, 2020 Author Share Posted March 15, 2014 (edited) Testing Edited March 15, 2014 by DanialFX Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 15, 2014 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 15, 2014 I'd use timers... Quote Link to comment Share on other sites More sharing options...
DanialFX Posted March 15, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 43 Reputation: 0 Joined: 02/10/14 Last Seen: March 25, 2020 Author Share Posted March 15, 2014 (edited) Dosen't work. Here is my script. - script AFKpts -1,{ OnPCLoginEvent: CheckAFK: if(checkidle() >= 300) { #AFKpts++; dispbottom "You gained 1 AFK point. [Total: "+#AFKpts+"]"; } sleep2 300000; goto CheckAFK; end; } For npc check points. prontera,91,101,5 script Sample 757,{ setarray .@CoinID[0],670,671; for( set .@i,0; .@i < getarraysize( .@CoinID ); set .@i,.@i + 1 ) set .@Menu$,.@Menu$ + getitemname( .@CoinID[.@i] )+":"; mes "Each 2 Cash Points."; dispbottom "My vote points = "+#AFKpts; set .@i,( select( .@Menu$ ) - 1 ); if( #AFKpts < 2 ){ mes "Sorry but you didnt have 2 Cash Points."; }else{ mes "How many you want ?"; mes "Amount : 1 ~ "+( #AFKpts / 2 ); input .@Amount,0,( #AFKpts / 2 ); if( .@Amount ){ set #AFKpts,#AFKpts - ( .@Amount * 2 ); getitem .@CoinID[.@i],.@Amount; mes "Done"; } } close; } Edited March 15, 2014 by DanialFX Quote Link to comment Share on other sites More sharing options...
krisnx Posted March 15, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 104 Reputation: 4 Joined: 06/23/12 Last Seen: October 20, 2022 Share Posted March 15, 2014 (edited) -[TAB]script[TAB]AFKpts[TAB]-1,{ OnPCLoginEvent: CheckAFK: if(checkidle() >= 300) { #AFKpts++; dispbottom "You gained 1 AFK point. [Total: "+#AFKpts+"]"; } sleep2 300000; goto CheckAFK; end; } has been check the tab in the script ? Edited March 15, 2014 by nostafu Quote Link to comment Share on other sites More sharing options...
Question
DanialFX
How to make a AFK point. AFK 5 minute for 1 points.
Link to comment
Share on other sites
5 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.