Page 2 of 5

Posted: Sun Dec 05, 2004 9:20 pm
by A_Druid_00
It's only like 4 months out of date! Not that it should matter for the tiem swapping, but /shrug

Posted: Sun Dec 05, 2004 9:22 pm
by Birdbrain
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 :P

Posted: Sun Dec 05, 2004 9:23 pm
by Birdbrain
should i have that #1# in it for avatar proc?

Posted: Sun Dec 05, 2004 9:31 pm
by Birdbrain
Ok, i got the macro to run but it does jack shit, all it does is say a macro is running, nothing else.

Posted: Sun Dec 05, 2004 10:26 pm
by fearless
Birdbrain wrote:should i have that #1# in it for avatar proc?
no

Posted: Sun Dec 05, 2004 10:43 pm
by Birdbrain
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

Re: SnareSwap.mac

Posted: Mon Feb 24, 2025 2:55 am
by xyilla

Re: SnareSwap.mac

Posted: Mon Feb 24, 2025 2:56 am
by xyilla

Re: SnareSwap.mac

Posted: Mon Feb 24, 2025 2:57 am
by xyilla

Re: SnareSwap.mac

Posted: Mon Feb 24, 2025 2:58 am
by xyilla

Re: SnareSwap.mac

Posted: Mon Feb 24, 2025 3:00 am
by xyilla

Re: SnareSwap.mac

Posted: Mon Feb 24, 2025 3:01 am
by xyilla

Re: SnareSwap.mac

Posted: Mon Feb 24, 2025 3:02 am
by xyilla

Re: SnareSwap.mac

Posted: Mon Feb 24, 2025 3:03 am
by xyilla

Re: SnareSwap.mac

Posted: Mon Feb 24, 2025 3:39 am
by xyilla