There are many uses for anti-AFK bots. If you are waiting to get in a raid, but still want the waitlist DKP for it, you could use one for that. Or if you want your character to stay online, maybe you are waiting for a GM or a Guild leader to ask you to join.
What this bot will do:
-Keep you from going AFK
-Log you in if you get disconnected
Regardless of the use I have devised a method that is extremely useful and easy to create. Keep reading and I will tell you why this bot is better then all the rest.
What You Need:
-AutoHotKey:
Open source Keyboard/Mouse Macro Program.
http://www.autohotkey.com/download/AutoHotkey.zip
-A Windows computer
-A brain and an ability to follow directions. I guarantee this will work if you follow my directions.
This is about a 2 megabyte file, with no installation necessary.
How to make the bot:
First step is to set WoW to windowed mode, not maxamized. Just set WoW to the lowest resolution. *This is Important* Put the window somewhere you will able to put it again easily. It only takes about 2 minutes to make the bot, but I prefer to just keep it exactly in the upper right hand corner, as it makes it easy to put it there again.
So now WoW is in windowed mode, and is placed somewhere you will can put it again. You have downloaded AutoHotKey to either your desktop or somwhere you will remember.
Next step, log in to WoW. After you are connected, you must cut your internet. Do this by shutting down your router, wireless card, or pulling your ethernet cable. Just get the "Disconnected from Server" message. Do *Not* Click "Ok" yet.
Go to the file you downloaded, and extract it, either with WinRAR or the built in .Zip extractor in Windows XP. Go to the file, it should be called AutoHotkey104408. Inside it there is a folder called AutoScriptWriter, and inside that there is a program called AutoScriptWriter. Start the program. Make sure WoW is still running, with "Disconnected from Server" still up. Now click "Record"
Upon Clicking "Record" the window should shrink. After this, click on the top bar of your WoW screen. Then click "Ok" on the "Disconnected From Server" message. Click the box with your Username, and type it. Then press Tab, and type your password. Do *Not* press enter. Instead, click "Login". After you finish logging in, *Click* "Enter World", do not press enter. Now you are logged in and on your character. From here you just need to click one button, like your main bag. I do not recommend using a spell or mount because it looks suspicious. Now, this part is a little tricky. Click your desktop, where you keep your icons. Double click where the next folder or program would be on your desktop. You can even make a temporary folder on your desktop that you will delete once you start using your bot. After you double click, click the "Stop" button for AutoScriptWriter.
Click "Save" in AutoScriptWriter and save the file to your desktop. It should be in the spot that you double clicked before before you pressed stop.
Your bot is almost complete! All thats left is to make a change or two then test it. Find the file you saved on your desktop, and open it with notepad. (Right Click it and go to Open With, choose "Select the Program from a list" and then highlight "Notepad" and click "Ok")
You will see a basic looking script. Don't worry if you don't understand it. Between the commands you will see a line that looks like
Sleep, 100
This is the amount of pause, in miliseconds, that the program waits between clicks. We want to change this to 10000, because we want 10 seconds between clicks. Just add two zeroes after the 100 and then you are good to go. Save the file then close it.
Go back to your AutoHotkey104408. There should be a program inside called Autohotkey. Double click it, and it will say "Blah blah.ini does not exist. Create it now?" Click "Ok", then you are almost done.
Now, see your file on your desktop? It should be called "Mybot".ahk. Double click it, and you will get a message saying "Windows cannot find the program to open this file". Click the radio button that says "Select the Program from a list" then click "OK". There is a button at the bottom that says "Browse". Click it, then navigate to AutoHotkey104408. Open it, then click the program AutoHotKey. Click Ok.
There! You did it, you are done! Double click the bot. It will look messed up, because even though you are logged in, it will still type your username and password. Little windows should pop up, and if you have a "R" in your username and password, you will start typing a reply to the person, but since you didn't use enter anywhere in your bot it won't send it.
Observe your bot. It should loop every 2-3 minutes. You can test it by disconnecting your computer and seeing if the bot will log you back in. I have had this bot running for 5 hours stright with no problems at all.
Warnings:
Do not use "Enter" anywhere in your script
You can't get banned for Anti-Afk botting but you can get a warning for it.
This script will only work twice if you put the WoW window back in the same spot
Feel free to ask questions, or report problems and I'll be sure to answer them.
~Sym