Lelouch 10 Posted June 1, 2016 Can you help me add some other funcs like... 1. Auto-kick party member outside the event map if they go AFK for 1 min. 2. Add a 60 mins cool down to prevent party or player from entering the npc again and again. https://github.com/rathena/rathena/blob/master/npc/custom/events/mvp_ladder.txt Quote Share this post Link to post Share on other sites
0 Ragno 57 Posted June 1, 2016 One way I can suggest is to register the players who have enter to the map of the game in an array, then every 60 seconds do a checkidle one by one on all of them and expulse those who has more than 60 seconds on idle mode. Another way is using OnNPCKillEvent to bring the same checkidle in every member of the party and expulse those who has more than 60 seconds away. We did something similar in this way in an event some months ago, but we did not expulse them, instead we sit them, trying to prevent the autofollow practice. In the same moment when a player is expulsed by the script, the same script can set a variable or a questlog mark to manage the 60 minutes of cool down to prevent him from re-entering. Quote Share this post Link to post Share on other sites
Share this post
Link to post
Share on other sites