Page 1 of 1

Buff removal?

Posted: Sun Sep 26, 2004 9:14 pm
by overnuker2323
Is there a way to remove your buffs by /commands instead of clicking on them? (other than /mouseto, /click left)?

Posted: Sun Sep 26, 2004 9:50 pm
by dho
try it

/notify BuffWindow Buff${Math.Calc[${Me.Buff["Lich"].ID}-1].Int} leftmouseup

* Remove Necro Lich spell

Posted: Sun Sep 26, 2004 10:00 pm
by A_Druid_00
It's not a macro, but:

http://www.macroquest2.com/phpBB2/viewtopic.php?t=7723

I use it to get rid of those pesky melee buffs on my casters and caster buffs on my melees.

Posted: Mon Nov 29, 2004 3:50 am
by Rhev
Is there a way to add a command to click off buffs that wild cards somehow?

For instance, lets say I wanted to add aliases to change illusions via mask. I want it to click off the illusion, then click the new mask. The problem is, how do i get MQ to identify and click off an illusion buff?

The syntax I was messing with for that part is /notify BuffWindow Buff${Math.Calc[${Me.Buff["X"].ID}-1].Int} leftmouseup where X would be the illusion. Now do I need to manually add that line for each different illusion I have or is there a possible way that I could make it just look for the word illusion, and then click off illusion:dark elf, illusion:barbarian, illusion:gnome etc and so on?

Appreciate any help. Thanks!

Posted: Mon Nov 29, 2004 6:37 am
by Cr4zyb4rd
something like

Code: Select all

/declare index int local
/for index 1 to 20
/if (${Me.Buff[${index}].Spell.Name.Find[illusion]}) /itemnotify BuffWindow Buff${Math.Calc[${index}-1].Int} leftmouseup
/next index

Posted: Mon Nov 29, 2004 7:22 am
by blueninja
Just do a /for loop through ${Me.Buff[x].Name.Find[illusion:]} where x is 1-15 (or higher if you have the aa).

Posted: Mon Nov 29, 2004 9:13 am
by Rhev
Those only work built into a macro though, yes? I'm trying to make a simple alias so I can toggle illusions on the fly while playing and running other macros.

What I have so far is for example:

/gnome=/multiline ; /twist off;/exchange "Mask of Tinkering" face;/timed 45 /exchange "Flayed Barbarian Hide Mask" face;/cast item "Mask of Tinkering";/timed 45 /twist

That works fine if I am just hanging out in human form, but I need some method of dropping whatever illusion is up, so I can make aliases for each illusion item, eg: /darkelf, /barbarian, /werewolf, /halfling etc and so on.

Any suggestions?

In my totaly noob experience, the option I see would be to add a ton of "/notify BuffWindow Buff${Math.Calc[${Me.Buff["Illusion: X"].ID}-1].Int} leftmouseup" in the multiline at the start for every illusion item I posess. Then it would run through and hopefully just go till it got the right one, but that seems really stupid and messy.

-note- The Barb Flayed Mask is my current normal gear face slot. If anyone also has a suggestion on a way to make it swap back in whatever was in the face slot before the illusion item, so that if I upgrade I dont need to edit all the aliases, thats cool to!