Okay, fixed it. What I did was put a delay between right-clicking and selecting the option and I haven't had any issues since. Plus, I added a failsafe so that if one of my bots take damage, it logouts and turns itself off so I immediately know the issue. Thanks all for your input, much appreciated!