ok this is going to sound really funny but it works..
before I found an anti-AFK script for applescript (Because I'm on a mac) I was doing something else for my afk bot
what I did is first put my cell phone on vibrate...then I called my cell phone from my house phone and left a voicemail...now with my phone, a verizon Razr, it vibrates every 60 seconds when I have a new voicemail...so with the voicemail on my phone, I put the cell phone under my mouse which made the mouse move slightly every 60 seconds....to top that off, I put two books on the side of the mouse so the mouse didnt fall off of the phone...worked great until I finally found a mac script