Macro help? clicking off a buff

Blujahz

Your spell fizzled!
Joined
Feb 9, 2007
Messages
553
Reaction score
1
Points
0
Could someone help me with a macro snipit to click off a buff? For example, I want to click off my invisibility buff before talking to an NPC or activating the fellowship clickie. This could also be used to click off a rk. II buff if a rk. I buff of the same name is being cast.

Any help is appreciated.
 
/if (${Me.Buff[Invisibility].Duration}) {
/notify BuffWindow Buff${Math.Calc[${Me.Buff[Invisibility].ID}-1].Int} leftmouseup
/delay 3s !${Me.Buff[Invisibility].ID}
/delay 1s
}
/return

Thanks Peter Warren for the snippet.....lol
 
This should get you a little further...

Code:
Sub GetOffHorse
| Turn off horse before pull.
/if (${Me.Buff[Summon Holy Steed].Duration}) {
    /notify BuffWindow Buff${Math.Calc[${Me.Buff[Summon Holy Steed].ID}-1].Int} leftmouseup
    /delay 3s !${Me.Buff[Summon Holy Steed].ID}
    /delay 1s
}
/return