|
Gadarn Newbie
Joined: 16 Jan 2003 Posts: 3 Location: USA
|
Posted: Thu Jan 16, 2003 4:03 am
quick simple question |
okie, this is a pretty basic question. On the older Zmud when creating a targeting trigger it was something along the lines of an alias named 't' command @t = %1 but that hasn't worked for me in the new version. I'm not a scripting genius like most of you guys :P Thanks,
Dan |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Jan 16, 2003 4:08 am |
quote:
okie, this is a pretty basic question. On the older Zmud when creating a targeting trigger it was something along the lines of an alias named 't' command @t = %1 but that hasn't worked for me in the new version. I'm not a scripting genius like most of you guys :P Thanks,
Dan
#variable target {}
Now you can do "target=something" from the command line or within code. Probably rather awkward to use, though. Try this:
#alias target {target=%1}
li'l shmoe of Dragon's Gate MUD |
|
|
|
Gadarn Newbie
Joined: 16 Jan 2003 Posts: 3 Location: USA
|
Posted: Thu Jan 16, 2003 4:11 am |
ok, i'm a simpleton i'm sorry, but could you give me the complete command for the targeting action, like would the #alias target {target=%1} go in the alias command line? and if so, what would my command be to make the action against the target? >whatever< @t? or @%?
Thanks again,
Dan |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jan 16, 2003 7:18 am |
At the command line, type:
#alias target {target=%1}
Once you've done that, set your targets by typing target, then the name of the target (one word only). This should also be typed at the command line.
target ogre
LightBulb
Senior Member |
|
|
|
Gadarn Newbie
Joined: 16 Jan 2003 Posts: 3 Location: USA
|
Posted: Thu Jan 16, 2003 3:39 pm |
can it be simplified? as in can i set 't' instead of 'target' in the alias and the use 't ogre' ? or do i need to use the whole word target? And thank you for helping me.
Dan |
|
|
|
doomfyre Apprentice
Joined: 03 Jan 2002 Posts: 152 Location: USA
|
Posted: Thu Jan 16, 2003 4:38 pm |
Sure:
#alias t {target=%1}
It's as simple as that. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Jan 17, 2003 3:04 am |
quote:
Sure:
#alias t {target=%1}
It's as simple as that.
I absolutely hate short alias names like "t". Not only are they meaningless, but I invariably end up typoing them all the time. Thus, I use one-word names that tell me in an instant what it does. Either that, or I find a #TRIGGER/mouse-based way to accomplish the same thing.
li'l shmoe of Dragon's Gate MUD |
|
|
|
|
|