Ranger Snaring

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

User avatar
Hades0721
a lesser mummy
a lesser mummy
Posts: 31
Joined: Sun Apr 11, 2004 4:57 pm
Contact:

Ranger Snaring

Post by Hades0721 » Sun Apr 11, 2004 4:59 pm

Need a little help with this Snare macro snippet. Can't get it to stop when in range and cast spell. Any help would be appreciated.

Code: Select all

|   :snare
|   /varset SnareRange 125
|   /if n $target(distance)>@SnareRange
|     	{
|	/face fast	 
|   	/sendkey down up
|	/goto :snare
|	}
|  /sendkey up up
|   /delay 1s
|   /cast 6
|   /delay 3s 

daerck
a ghoul
a ghoul
Posts: 134
Joined: Mon Jan 12, 2004 8:44 pm

Post by daerck » Sun Apr 11, 2004 9:36 pm

the { needs to be last character on the /if line:
| /if n $target(distance)>@SnareRange {
| /face fast
| /sendkey down up
| /goto :snare
| }
Removing all the comments may help as well, and you should use /keypress instead of /sendkey.

User avatar
Hades0721
a lesser mummy
a lesser mummy
Posts: 31
Joined: Sun Apr 11, 2004 4:57 pm
Contact:

Post by Hades0721 » Tue Apr 13, 2004 1:36 am

Thanks. Working great now.