Clicking a buff off...

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

fez_ajer
a ghoul
a ghoul
Posts: 106
Joined: Fri Apr 23, 2004 6:44 pm
Location: If I was up your ass you'd know where I was...

Clicking a buff off...

Post by fez_ajer » Sun Jun 06, 2004 10:44 am

Hey all... I've searched a whole bunch now and I can't seem to find the answer to this: How do I 'click a buff off' with MQ2? I want my pally bot to be able to switch between Instrument of Nife and Divine Might, but they don't both override each other.

I can't seem to find a way to remove a self buff short of clicking, and I can't find an easy way to find coords (from within MQ2) to click to remove.
- Fez

Chill
Contributing Member
Contributing Member
Posts: 435
Joined: Fri May 07, 2004 5:06 pm
Location: Erie, PA

Post by Chill » Sun Jun 06, 2004 2:15 pm

pretty sure it can be done with /notify but not sure how you specify the buff window or that particular buff.

Check the manual and do a search for /notify but here is the basic idea:

Code: Select all

/declare c int local 0
/declare badbuff string local
/varset badbuff [color=cyan]Name of Buff to Click[/color]

/for c 1 to 15
   /if (${Me.Buff[${c}].Name.Find[${badbuff}]}) /notify [color=cyan] <buff window> <buff slot c>[/color] leftclickup
/next c
Substitue in the name of the buff and the proper names for the buff window and that buff slot, which you need to find on your own.