|
romsek Newbie
Joined: 19 Mar 2004 Posts: 1 Location: USA
|
Posted: Fri Mar 19, 2004 6:36 am
macros not working in v7 |
I just updated to version 7.04 and some macros I used with v6.16 no longer work.
The problem is this. I had the number pad extensively macroed for casting spells on a mob or player whose name is contained in the @target variable. I have an alias "tg" that sets this variable.
I has macroed the ctrl-key0 key to be @target, i.e. the value of the variable target. This macro is defined to be Send to MUD, and Daisy Chain, the idea being that this macro is used to complete other macros when explicit targetting is desired.
For example i use a macro ctrl-key5 which is c colour" "
This macro is defined to be Append to Command.
If I want to implicitly target using this I simply type ctrl-key5 return.
If I want to explicitly target I type ctrl-key5 ctrl-key0 which ends up sending c colour <the value of @target> to the MUD.
That was the desired behavior and the behavior under 6.16.
7.04 exhibits the following behavior. When typing ctrl-key0 by itself the correct output, i.e. the value of @target is displayed.
But when combining it with other macros the literal text "@target" is appended rather than the value of the variable @target. Typing
ctrl-key5 ctrl-key0 now results in the text "c colour @target" being sent to the MUD.
Has anyone else run into this? Is there a fix or workaround. If the behavior in 6.16, which in my opinion is the desired and intuitive behavior, was correct then this is a bug in 7.04.
thanks in advance for responses
romsek |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Mar 19, 2004 1:12 pm |
Two options, change the CTRL-KEY0 macro to expand the variable with something like:
<@target>
or enable the Expand Vars option in the Script Parser part of the Preferences. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|