 |
Waylander Newbie
Joined: 04 Apr 2003 Posts: 7
|
Posted: Fri Apr 04, 2003 1:47 am
Help with trigger, aliases, etc... |
Please treat me like a newbie, because I am.
I have no idea how to set up a trigger.
This is what I am wanting...
Lets say there is a goblin in the room.
I want to set up an alias that is something like
Alias is t
short for "target=%1"
so I can say t goblin
and goblin will be represented as my target.
then I can have a macro set up as Slash @target
and it will slash goblin, or whatever I have set up as my target.
Then i want to set up my trigger.
When it says "you are able to attack again"
I want it to automatically slash @target.
So I can just specify my target before the battle, use my macro, and sit back til it, or I, am dead.
Thanks in Advance.
I have the latest version btw. 6.55 I believe. |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Apr 04, 2003 2:02 am |
The commands are #ALIAS, #KEY, and #TRIGGER, and #VARIABLE.
#AL t {#VAR target {%1}}
#KEY F1 {slash @target}
#TR {you are able to attack again} {slash @target}
The latest public version is 6.40. 6.55a is the latest beta (test) version. Since you're just learning to use zMUD, you should be using the public version, not the beta version. I'd recommend making the change now, before you have a lot of settings (triggers, aliases, etc).
LightBulb
Advanced Member |
|
|
 |
Waylander Newbie
Joined: 04 Apr 2003 Posts: 7
|
Posted: Sat Apr 05, 2003 3:26 am |
I know this may sound wierd, but I had my target working fine yesterday. Today I log in, and I can't change target.
I have t as
target=%1
Worked fine yesterday, but not today. Any help would be excellent. Thanks. |
|
|
 |
Waylander Newbie
Joined: 04 Apr 2003 Posts: 7
|
Posted: Sat Apr 05, 2003 4:46 am |
No enlightenment?
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Apr 05, 2003 4:49 am |
#AL t {#VAR target {%-1}}
zMUD doesn't change on its own. If your alias worked yesterday, and doesn't work today, it's because of something you changed. Change it back.
LightBulb
Advanced Member |
|
|
 |
Waylander Newbie
Joined: 04 Apr 2003 Posts: 7
|
Posted: Sat Apr 05, 2003 4:54 am |
Well what could I have possibly changed that would cause that?
I tried the string you just gave me and it still didn't change the @target in vars. It's like yesterday i could type t goblin and it would change the @target to goblin but not enter it as a command in the mud. Now when I do it it enters it as a command in the mud and the mud kicks back a message of incomprehension. As far as zmud not changing on its own, Ill give you that, but what could possibly cause this is what I am asking for? Smart ass comments do none of us good. |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Apr 05, 2003 5:31 am |
There are several things you could have changed.
Command line parsing -- if there's an X over the computer icon next to your command line, you've turned off command line parsing. Since your "t goblin" is being sent directly to the MUD, this is the most likely.
a=b syntax -- You could have disabled this preference
#ALIAS -- you could have changed or removed the "t" alias. You could have made another "t" alias in another class. It's possible you've disabled the alias.
#ONINPUT -- You might have created an Input Trigger which changes the line before the Alias can act on it
Special Characters -- You may have changed your special character assignments
Other possibilities -- There are almost certainly other possibilities that haven't even occurred to me.
Those are in approximate order of likelihood. You should know what you've changed. After all, it's only been a day or less since you made the change.
I didn't intend to be a "smart ass". I just didn't feel like listing all the possibilities I could think of, since you should be able to get the answer easily by reviewing your own actions. On the other hand, I'm fairly sure you did intend to be rude when you chose to apply that label to my comment.
LightBulb
Advanced Member |
|
|
 |
Waylander Newbie
Joined: 04 Apr 2003 Posts: 7
|
Posted: Sat Apr 05, 2003 5:38 am |
I honestly wasn't aware of any change that I had made, however there was an X over the computer icon. Thank you for your assistance. Sincerely.
|
|
|
 |
|
|