I'm making a scriptable macro program for World of Warcraft, but need to know how to do the whole scripting part.
I want to have a textbox, where the user puts in the info, then the script is run from a GetAsyncKeyState such as F10. I only want basic commands like this:
Cast(Hotkey1)
(Hotkey1 is the spell hotkey in the actionbars in WoW, so to attack someone would press "1" in-game normally).
What Cast would do would be to send the key "1" in-game to attack the selected NPC/player.
Then some other basic commands like:
Wait(Ms)
Etc. Once I know how to make commands and have the program read the whole script, I can make more commands and develop off that.
Anyway, I'd really love some help
Note: I've already checked out Darthatron's source and frankly I just can't seem to piece it together.
I want to have a textbox, where the user puts in the info, then the script is run from a GetAsyncKeyState such as F10. I only want basic commands like this:
Cast(Hotkey1)
(Hotkey1 is the spell hotkey in the actionbars in WoW, so to attack someone would press "1" in-game normally).
What Cast would do would be to send the key "1" in-game to attack the selected NPC/player.
Then some other basic commands like:
Wait(Ms)
Etc. Once I know how to make commands and have the program read the whole script, I can make more commands and develop off that.
Anyway, I'd really love some help
Note: I've already checked out Darthatron's source and frankly I just can't seem to piece it together.



















