Wasnt sure if this is where I'd post this..but its my first shot at a macro thats not extremely basic..yet not exactly advanced either (just something fun to do)
Anyway when I try it, it gives me these "errors" and nothing really happens.
FYI, I already have a target and am about to run the macro when I get this as a "response" to my scripting
With Target
Couldn't find a comparison operator in 'monk'
Couldn't find a comparison operator in 'monk'
MacroQuest: You need to select a target to run after first.
All macro variables and timers cleared.
The current macro has ended.
Without Target
MacroQuest: You need to select a target to run after first.
All macro variables and timers cleared.
The current macro has ended.
--------------------------
Here is the code i used
--------------------------
Code: Select all
| This should make you autorun to your target
| Will get u stuck on objects if they are in your way tho
| -Draekz-
Sub Main
:Target
/if $target()==TRUE /goto :Speed
/if $target()==FALSE /goto :End
/return
:Speed
/if $char(class) == "Bard" /if n $char(level) >= 5 /cast 1 /goto :Run
/if $char(class) == "Druid" /if n $char(level) >= 5 /cast 1
/delay 70
/goto :Run
/return
:Run
/face
/if $target(distance)>=15 /goto :Run
:End
/echo You need to select a target to run after first.
/endmacro
/return
Thx for any response/help :)
No need to re-write the script if you dont want to..perhaps maybe a hint or something so i can figure it out myself
Thanks for any help :)
~Draekz~

