Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.
Moderator: MacroQuest Developers
-
eqjoe
- a grimling bloodguard

- Posts: 984
- Joined: Sat Sep 28, 2002 12:26 pm
Post
by eqjoe » Sun Apr 25, 2004 1:16 pm
Grrrrr...
I need $mouse(x) and $mouse(y) so I can find the location of the cursor.
Unless someone knows of a better way than /click left <x> <y> to remove buffs.....
-
Dulapore
- a lesser mummy

- Posts: 67
- Joined: Thu Feb 26, 2004 4:39 am
Post
by Dulapore » Sun Apr 25, 2004 1:30 pm
There is a way, I think I saw it in the change log. I'm not sure where it is exactly.
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Sun Apr 25, 2004 2:37 pm
uhh
Code: Select all
/varset @buff ${Math.Calc[${Me.Buff[Spirit of Wolf].ID}-1]}
/notify BuffWindow Buff@buff leftmouseup
enjoy
-
eqjoe
- a grimling bloodguard

- Posts: 984
- Joined: Sat Sep 28, 2002 12:26 pm
Post
by eqjoe » Sun Apr 25, 2004 7:37 pm
Totaly didnt know that math.calc would work....
Thanks Lax
-
eqjoe
- a grimling bloodguard

- Posts: 984
- Joined: Sat Sep 28, 2002 12:26 pm
Post
by eqjoe » Tue Apr 27, 2004 12:57 am
Lax wrote:uhh
Code: Select all
/varset @buff ${Math.Calc[${Me.Buff[Spirit of Wolf].ID}-1]}
/notify BuffWindow Buff@buff leftmouseup
enjoy
Bah....
Code: Select all
${Math.Calc[${Me.Buff[Spirit of Wolf].ID}-1]}
Returns the Spell ID minus 1.
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Tue Apr 27, 2004 1:02 am
25 Apr 2004 by Lax (more):
- Fixed spawn.NearestSpawn
- Changed buff.ID so that it gives the song # or buff # instead of the spell's ID
get the latest zip
-
eqjoe
- a grimling bloodguard

- Posts: 984
- Joined: Sat Sep 28, 2002 12:26 pm
Post
by eqjoe » Thu Apr 29, 2004 11:38 pm
Code: Select all
/varset buff1 ${Math.Calc[${Me.Buff[Seduction of Saryrn].ID}-1]}
/notify BuffWindow Buff${Int[${buff1}]} leftmouseup
Works everytime :)
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Fri Apr 30, 2004 12:20 am
now you can do
Code: Select all
/declare buff1 int
/varcalc buff1 ${Me.Buff[Seduction of Saryrn].ID}-1
/notify BuffWindow Buff${buff1} leftmouseup
:)
-
Mckorr
- Developer

- Posts: 2326
- Joined: Fri Oct 18, 2002 1:16 pm
- Location: Texas
Post
by Mckorr » Fri Apr 30, 2004 9:44 am
Now that's one that confuses me. leftmouseup, etc. To me, mouseup would mean releasing the button. Shouldn't it be leftmouse?
-
magictiger
- a snow griffon

- Posts: 450
- Joined: Sun Mar 21, 2004 2:24 pm
Post
by magictiger » Fri Apr 30, 2004 11:02 am
What happens when you click and hold on a buff?
What happens when you click and let go of the left mouse button?
leftmouseup just skips the initial clicking :)