Hey guys, here's a simple bot i made to help me mill herbs, prospect ore, or otherwise press a button every 4.5sec while surfing the internet or playing another game. you'll need to download Autoit and make a macro along the lines of this:
----Milling------
/cast Milling
/use Adder's Tongue
/use Icethorn
/use Nightmare Vine
/use lichbloom
/use Tiger Lily
/use Deadnettle
/use Goldclover
-------------------
---Prospect---
/cast prospect
/use titanium ore
/use saronite ore
/use cobalt ore
-------------------
Now put the milling macro(or prospecting macro or a button you just wanna push every 4.5sec) on your action bar in the key "6" spot.
here is a link to DL autoit:
HTML Code:
http://www.autoitscript.com/autoit3/downloads.shtml
and then you'll need to make an autoit file with this source:
Code:
$win_title = "World of Warcraft"
WinActivate($win_title, "")
WinSetOnTop($win_title, "", 0)
Sleep(1000)
HotKeySet("{PAUSE}", "EndScript")
$i = 0
$win_title = "World of Warcraft"
While $i <= 10
ControlSend ( "World of Warcraft", "", "", "6")
Sleep(4500)
WEnd
Func EndScript()
$exit = MsgBox(4, "Ender", "Exit the Bot?")
If $exit = 6 Then
Exit
EndIf
EndFunc
(i'm new to autoit so i don't know how to encrypt it etc. + i'd like to show people the code so they can some day learn how to make a simple bot)
then once you save it. Go to "Run Script" in the Autoit folder and select this script. when you want to stop the bot just hit the "Pause" button (on my keyboard it's the Pause Break button between the keyboard and the number pad) and a window will pop up asking if you wanna exit the bot, hit yes and the bot will turn off.
This bot does work in Background mode so you CAN go on the internet, Play another game, or just go AFK. This is due to the use of
Code:
ControlSend ( "World of Warcraft", "", "", "6")
instead of using . I hope this helped you, either by showing you how to make autoit bot's run background or by giving you a bot to help with a tedious task.
Thank you and have a nice day,
Hi on Helium
DO NOT ASK FOR REP - Apoc