MvP Ladder Game

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.

 
Back
Top