I am just showing some great commands that are very important for bots!
# Scripts are for AutoIt [Only registered and activated users can see links. ]
MsgBox(0, "Program Name, "Program Info")
Makes a "Message Box", which can be used to display data, and after the "OK" button is pressed, it can send keystrokes, move characters, etc.
~~~~~~~~~~
Run (@ProgramFilesDir & "\World of Warcraft\WoW.exe", "")
Will run World of Warcraft from ANY drive (Yes, not just C:, this is great for auto-run scripts!)
~~~~~~~~~~
Send("{a}")
Inside of { , } , you would place the key to send (If {ENTER} is not added, this will work like moving your character)
~~~~~~~~~~
Send("{ENTER} Text {ENTER}")
Would type "Text" for World of Warcraft
~~~~~~~~~~
WinActivate("World of Warcraft")
WinWaitActive("World of Warcraft")
Both these commands are to make sure the program switches to World of Warcraft, or any window if shown in the parentheses.
~~~~~~~~~~
#include <GUIConstants.au3>
Needed if you are using any GUIConstants. A GUI Constant is something such as..
$GUI_EVENT_CLOSE
Used in MessageLoop scripts
~~~~~~~~~~
Run("Notepad.exe")
Run("Calc.exe")
The basic run command, without the Drive, Folder, Folder specification, is read straight from system32. The basic run command can run any program in system32 without C:/Program Files, etc.
People like you make the AuotoIt language look like shit...
This is even worse then the thread below.
AND it's the wrong section, just like the one below.
Thidan is just a loser with absolutely no life. He thinks he's #1 at AutoIt, but he sucks. Who said I didn't more commads? Who said I had other scripts and things that I guarantee he has no idea how to do? How come he thinks he's soo good, but it's because he sucks? I think you deserve to leave MMOwned. If you are soo damn amazing, post a better topic. Now, please continue your /slit-a-thon.
This post is completely useless. WHY is he a loser? WHY does he suck? C'mon show that ooh so wonderfull scripts of yours
@programfilesdir is fail too. I don't have it there, so you should read from the registry. You use @programfilesdir for specifying a default install location.
I am with thidan 100% on all of this. it takes pretty much 5 minutes of knowing no autoit to know all this even without a guide.
Thidan is just a loser with absolutely no life. He thinks he's #1 at AutoIt, but he sucks.
Well.. hes not #1. But from what iv seen, he's at least better than you. People need to quit posting shit like this.
If you dont actually learn autoit your just gonna use some noobs scripts and end up getting yourself banned..
What's the point of posting (copy & paste) stuff from the help file?..
Making a thread and saying "Go to autoitscript.com then download autoit and read the help file". Would be better than this "Guide"..