Post your completed (working) macros here. Only for macros using MQ2Data syntax!
Moderator: MacroQuest Developers
-
A_Druid_00
- Macro Maker Extraordinaire
- Posts: 2378
- Joined: Tue Jul 13, 2004 12:45 pm
- Location: Rolling on the Lawn Farting
Post
by A_Druid_00 » Sun Dec 05, 2004 9:20 pm
It's only like 4 months out of date! Not that it should matter for the tiem swapping, but /shrug
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]
-
Birdbrain
- a lesser mummy

- Posts: 45
- Joined: Sat Oct 23, 2004 1:40 pm
Post
by Birdbrain » Sun Dec 05, 2004 9:22 pm
i just got the new one, and it doesnt say that error and crap before, but once i run it, it ends. I suck at modifying macros

-
Birdbrain
- a lesser mummy

- Posts: 45
- Joined: Sat Oct 23, 2004 1:40 pm
Post
by Birdbrain » Sun Dec 05, 2004 9:23 pm
should i have that #1# in it for avatar proc?
-
Birdbrain
- a lesser mummy

- Posts: 45
- Joined: Sat Oct 23, 2004 1:40 pm
Post
by Birdbrain » Sun Dec 05, 2004 9:31 pm
Ok, i got the macro to run but it does jack shit, all it does is say a macro is running, nothing else.
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Sun Dec 05, 2004 10:26 pm
Birdbrain wrote:should i have that #1# in it for avatar proc?
no
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
Birdbrain
- a lesser mummy

- Posts: 45
- Joined: Sat Oct 23, 2004 1:40 pm
Post
by Birdbrain » Sun Dec 05, 2004 10:43 pm
k this is it w/o still doesnt work though for some reason it loads and doesnt do anything.
Code: Select all
| snareswap.mac
#include Spell_Routines.inc
#event avatarproced "Your body screams with the power of an Avatar".
#event exp "You gain party experience!!"
Sub Main
/declare Primary string outer ${InvSlot[mainhand].Item.Name}
/declare Secondary string outer ${InvSlot[offhand].Item.Name}
/declare AvatarStick string outer Ancient Prismatic Brawl Stick
/if (${InvSlot[mainhand].Item.Name.NotEqual[${AvatarStick}]}) {
/call EquipItem "${avatarStick}|mainhand"
/call EquipItem "${Primary}|offhand"
:WaitAvatarproced
/doevents
/delay 1
/goto :Waitavatarproced
/endmacro
Sub Event_Avatarproced(string Line,string Mob)
/echo Avatar proced!
/call SwapBack
/return
Sub Event_exp
/echo Avatar never proced 8(
/if (!${Target.ID}) /call SwapBack
/return
Sub SwapBack
/call EquipItem "${Secondary}|offhand"
/call EquipItem "${Primary}|mainhand"
/delay 1s ${InvSlot[mainhand].Item.Name.Equal[${Primary}]}
/endmacro
/return