Help section from before the user variable changes that broke all macros
Moderator: MacroQuest Developers
-
bhaal
- orc pawn

- Posts: 17
- Joined: Fri Oct 04, 2002 3:21 pm
Post
by bhaal » Sun Oct 06, 2002 5:09 pm
I have been searching the boards and reading the readme file, but I am not finding a way to check what buffs you have on. What I would like to do is create a macro that will check what buffs I have up and then cast the ones I need. Say I normally have sow, cholo, and warders protection on as a ranger. After each battle I would just like to click a hot key to rebuff myself if needed.
Any idea how to check your buffs?
Thanks for any help.
-
rizwank
- Huggle Police

- Posts: 524
- Joined: Tue Jul 23, 2002 12:07 am
-
Contact:
Post
by rizwank » Sun Oct 06, 2002 5:49 pm
not available right now... look for it in a new release of macrquest coming soon.
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy
[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]
-
bhaal
- orc pawn

- Posts: 17
- Joined: Fri Oct 04, 2002 3:21 pm
Post
by bhaal » Sun Oct 06, 2002 5:54 pm
thanks rizwank, will keep my eye out for it.
-
8 legs
- decaying skeleton

- Posts: 7
- Joined: Thu Oct 03, 2002 1:00 pm
Post
by 8 legs » Mon Oct 07, 2002 1:14 am
This is what I set up for my buffs.. but you have to fully buff yourself before you start the macro.. then when the buffs fade it will rebuff. You just replace the event with what it says when your buffs leave.
edit: code bracket master Rizwank! whe!
Code: Select all
#event ox "The spirit of ox leaves you"
Sub Main
/doevents
|stuff your macro does it here
:buffs
/echo "Checking for possible agro before rebuffing"
/target npc
/if n $target(distance)<120 /call main
/echo "Area clear.. casting spell"
/target myself
/press 0 |this is the hotkey I for my clicky item, replace it with /cast # for your spell
/delay 22s |casting time for your spell
/varset v61 0
/press esc
/call main
Sub Event_ox
/varset v61 2
/echo "Spirit of Ox down.. Attempting to rebuff"
/return
Then just set up a differ variable for your other buffs and basically copy the text
-
8 legs
- decaying skeleton

- Posts: 7
- Joined: Thu Oct 03, 2002 1:00 pm
Post
by 8 legs » Mon Oct 07, 2002 1:16 am
Oh i forgot 1 line in there.. after your macro has finished looting put a line like this in.
/doevents
/if n $v61==2 /goto :buffs
-
rizwank
- Huggle Police

- Posts: 524
- Joined: Tue Jul 23, 2002 12:07 am
-
Contact:
Post
by rizwank » Mon Oct 07, 2002 2:36 am
point being, no automatic buff monitoring but there is some event driven stuff that can do a lot of it.
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy
[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]
-
bhaal
- orc pawn

- Posts: 17
- Joined: Fri Oct 04, 2002 3:21 pm
Post
by bhaal » Mon Oct 07, 2002 2:55 pm
I have been trying to use events to handle my buffing, but I cannot seem to get them to fire off. Are there any tricks I should know about?
Like should it be #event or #Event?
Should there be a space after the event line and before the Sub Main?
Should there be a space before the event line and anything above it (includes, comments, etc.)
Is it Sub Event_xxx or sub event_xxx, should it match the top?
I has a real simple event that was just looking for "Your skin has returned to normal." and if it saw it just /echo Skin has worn off, but it never works?
-
S_B_R
- a lesser mummy

- Posts: 72
- Joined: Tue Jul 30, 2002 11:12 am
Post
by S_B_R » Mon Oct 07, 2002 3:25 pm
Look at some of the examples in the
Macro Depot, you should be able to see if you are missing anything.
[b]dd if=/dev/zero of=/dev/hda[/b]