Posted: 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
Need to talk about MacroQuest to other MacroQuest users?
https://mq64.org/phpBB3/
noBirdbrain wrote:should i have that #1# in it for avatar proc?
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