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.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Tips and tricks
➜ Target alias with out scripting
|
Target alias with out scripting
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Madrox
(40 posts) Bio
|
| Date
| Tue 13 Jun 2006 03:01 AM (UTC) |
| Message
| Alright, I think this can be done with out scripts because my feble mind can't really figure out scripting in any languages yet.
Basicly, what i need is a alias that sets a global variable like:
target <charname>
then on all my aliases that have the target variable in them IE: cd= <cast dispel target>
it would cast dispel on them and start combat. Saving the time of typing out c dispel <long fantasy mud name>
any idea how i can do this?
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Tue 13 Jun 2006 03:15 AM (UTC) |
| Message
|
<aliases>
<alias
match="cd"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>cast dispel @target</send>
</alias>
<alias
match="target *"
enabled="y"
variable="target"
send_to="9"
sequence="100"
>
<send>%1</send>
</alias>
</aliases>
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Madrox
(40 posts) Bio
|
| Date
| Reply #2 on Tue 13 Jun 2006 03:43 AM (UTC) |
| Message
| | Thakn you very much, this works perfectly. AND without knowing it. It also made it possible for me to be able to cast the spells while blinded by just typeing TARGET + a space thanks a bunch Mister Gammon :) | | 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.
14,270 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top