Ok, my first round of working with basic code taught me a couple things.
Thanks for the help everyone.
Now I'm looking to understand a few more things. Bear with me, you know someone else is also reading these and hoping to learn from what I'm posting, so you're helping more than just me here.
I've found 2 Snippets
http://macroquest2.com/phpBB2/viewtopic.php?t=6962 the
Exptracking.inc and
http://macroquest2.com/phpBB2/viewtopic.php?t=6741 the
autofight.inc that I would like to learn how to properly incorperate into a simple macro. In the case of exptracking.inc I'd like to know how to determine the best place to add it in any macro I might run, as well as how to change it to create an INI from charactername vs having to tell it in the script, if possible.
Anyway, I was able to figure out that the lines I would need to add for the exptracker.inc would be the following; I'm not going to get into the autoattack one this round.
Code: Select all
#include exptracking.inc //this sets the inc as a part of the macro
/declare IniFileName string outer myinifilename.ini //change the last to character_server.ini or whatever
call StartExpTrack
I know the #include needs to be at top before the Sub Main.
I also know that the /declare goes with the others at top right after Sub Main; if there are others, otherwise it stands alone.
What I am not sure of is when and where to place the call.
The example I'm using to get this far was a very basic mac that does one thing, and that is run the exptracker. Within it is also a loop that continually
/doevents.
So, to recap, I know where the include and declare statements go. I am not sure where the call goes and if I need to make a loop for it or not as is in the post where I got all this from.
Anyway, putting up my practical exercise in next post.