Actually it might just be easier just to allow the current afk kick to drop admins, and then create another plugin in the menu itself that spectates them, and exempts them from the kick for a single map only so that it doesn't get abused.
Instead of having annoying pop up menus, all you'd have to do is create a command that temporarily safe guards the admin.
Rezel<ibis>: i'll make a self reliant artificial intelligence to deal with admins... I'll call it maynard 1.0 a exact replica of his personality to kick the shit out of bad admins..
maynard<ibis>: an army of AI maynards.... this pleases me.
Keep it simple like what rezel said, if they are using admins commands it wont register you as afk, like using the Auto spec.
the whole idea is great i agree because admins cant kick other admins and there are a few admins that use the spec. to keep senior admin however we all know thats not how it works >.> +1 though for sure great idea
victory is won by skill never cheating, cheating only results in havok, havok only leads to suffering, and suffering only leads to agony of defeat.
How about adding this cvar "sm_afk_kick_min_players 20" ( also removing admin immunity ) number will vary for each server naturally, I just pulled this from a afk manager, and adding it to any other manager should be fearly simple. Admins will get kicked then if they do not actively use they're mouse keyboard.
And providing that the server has x amount of players.
@ninja Keep it simple like what rezel said, if they are using admins commands it wont register you as afk, like using the Auto spec."
Most afk managers rely on keystrokes and mouse movement related to game-play as eks toggling spec using admin commands or typing wont stop the kick.
Last edited by checkster; 04-24-2012 at 05:26 AM.