Add an anti-idle
Idling out in some games can be taxing. Although we often need a break and can't always "safely quit", some games enforce an "auto idle" setting which will disconnect the player when a certain amount of idle time has been reached (this might have some nasty consequences). Although the use of an "anti idle" is by no means encouraged, like the heavy use of triggers or reliance on timers, this feature will have to be created in CocoMUD.
In brief, an anti-idle would send a "random" command to the server at a random interval of time. The list of commands and the time could all be set in the preferences.
Basically you would enter all commands that could be sent to the server, each command on a line:
look do something say ouch smile inventory eq
Then CocoMUD will select one command out of this list and send it when the "anti idle" is switched on. The user can set a minimum and maximum time of pause between each command.
Let's say the user selected 2 seconds as minimum and 10 as maximum (this is an active idle which games might be able to detect):
When the "anti idle" is switched on, CocoMUD could perform the following actions:
- Wait 3 seconds.
- Send "inventory".
- Wait 7 seconds.
- Send "say ouch".
- Wait 4 seconds.
- Send "look".
... until the "anti idle" is switched off.
Please register to edit this issue