Page 1 of 1
mouse cursor location?
Posted: Sun Apr 25, 2004 1:16 pm
by eqjoe
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.....
Posted: Sun Apr 25, 2004 1:30 pm
by Dulapore
There is a way, I think I saw it in the change log. I'm not sure where it is exactly.
Posted: Sun Apr 25, 2004 2:37 pm
by Lax
uhh
Code: Select all
/varset @buff ${Math.Calc[${Me.Buff[Spirit of Wolf].ID}-1]}
/notify BuffWindow Buff@buff leftmouseup
enjoy
Posted: Sun Apr 25, 2004 7:37 pm
by eqjoe
Totaly didnt know that math.calc would work....
Thanks Lax
Posted: Tue Apr 27, 2004 12:57 am
by eqjoe
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.
Posted: Tue Apr 27, 2004 1:02 am
by Lax
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
Posted: Thu Apr 29, 2004 11:38 pm
by eqjoe
Code: Select all
/varset buff1 ${Math.Calc[${Me.Buff[Seduction of Saryrn].ID}-1]}
/notify BuffWindow Buff${Int[${buff1}]} leftmouseup
Works everytime :)
Posted: Fri Apr 30, 2004 12:20 am
by Lax
now you can do
Code: Select all
/declare buff1 int
/varcalc buff1 ${Me.Buff[Seduction of Saryrn].ID}-1
/notify BuffWindow Buff${buff1} leftmouseup
:)
Posted: Fri Apr 30, 2004 9:44 am
by Mckorr
Now that's one that confuses me. leftmouseup, etc. To me, mouseup would mean releasing the button. Shouldn't it be leftmouse?
Posted: Fri Apr 30, 2004 11:02 am
by magictiger
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 :)