Check for monsters to attack every x seconds
Give up attacking a monster if it can't be reached within x seconds
When disconnected, wait x seconds before reconnecting again reconnect 30
Send the attack packet every x seconds, if it hasn't been send already
If you've just killed a monster, and there are no aggressives,and you're not picking up any items, wait x seconds before doing anything else.
Pause for the specified number of seconds after taking something, it increases the interval between taking several items and between taking the last item and continuing the actions.
When your monster died, start checking for loot after x seconds.
top checking for loot x seconds after it has begun checking.
When standing near an item, send the 'take' packet every x seconds until the item has been taken.
Give up if unable to pickup item after x seconds.