Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ General
➜ Newbie trouble trying to find out how to set targeting Alias'
Newbie trouble trying to find out how to set targeting Alias'
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Ready
(15 posts) Bio
|
Date
| Sat 05 Jun 2004 07:33 AM (UTC) |
Message
| I've just started using Mush Client and i'm a bit unsure how to set targeting. It may not be possible but it my newbie experiance I've often been able to get a couple of Alias' and variables to set up so i can target something and then say punch the target. However I'm having trouble working out how to do this. Could someone please help? | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #1 on Sat 05 Jun 2004 08:03 AM (UTC) Amended on Sat 05 Jun 2004 08:04 AM (UTC) by Flannel
|
Message
| http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=2872
Basically, you set the variable with an alias (send to: variable)
then in your punch alias, you send "punch @variable" and check "expand variables"
of course, you'd rename variable to whatever youd like, target or whatnot. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Ready
(15 posts) Bio
|
Date
| Reply #2 on Sat 05 Jun 2004 01:47 PM (UTC) |
Message
| The variable and punch target work, however I can't get the target to work, I have to actually type the thing i am targetting in the variable as the alias to do that for me isnt working. What shuld i do? | Top |
|
Posted by
| Poromenos
Greece (1,037 posts) Bio
|
Date
| Reply #3 on Sat 05 Jun 2004 03:28 PM (UTC) |
Message
| Did you write the variable name to send to in the alias? |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #4 on Sat 05 Jun 2004 08:29 PM (UTC) Amended on Sat 05 Jun 2004 08:32 PM (UTC) by Flannel
|
Message
|
Quote:
<aliases>
<alias
match="settarget *"
enabled="y"
echo_alias="y"
variable="target"
send_to="9"
ignore_case="y"
sequence="100"
>
<send>%1</send>
</alias>
</aliases>
Try that, itll show you basically what you need. Of course, you could make it a regexp, and change the variable name, and the alias itself, but this one works.
Oh yeah, to try that, Copy the whole thing, (inside of the lines) and go to the alias page (the one with all your aliases displayed, not an individual alias edit window), and push the PASTE button. Then the alias will be pasted to your world. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
18,139 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top