Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, 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
➜ VBscript
➜ `Newbie Needs Change Variable Script
`Newbie Needs Change Variable Script
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Babochka
USA (21 posts) Bio
|
Date
| Tue 14 Jun 2005 02:48 AM (UTC) |
Message
| To Life Immortal
I have an alias which my bard uses to fight with.
alias ddd
jab @xx
slash @xx
punch @xx
kick @xx
the alias runs well but I need to know how to change the variable stored in xx.
Is there a way I may write an alias which can change the variable?
Thanks
Babochka | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #1 on Tue 14 Jun 2005 04:04 AM (UTC) |
Message
| Didn't you just ask about this in the other thread?
Anyway, there's two ways of doing it, I'll show you both.
The first doesn't use any scripting (and is language independant), the second uses scripting.
<aliases>
<alias
match="target *"
enabled="y"
variable="xx"
send_to="9"
sequence="100"
>
<send>%1</send>
</alias>
</aliases>
and
<aliases>
<alias
match="target *"
enabled="y"
send_to="12"
sequence="100"
>
<send>setvariable "xx", "%1"</send>
</alias>
</aliases>
|
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Babochka
USA (21 posts) Bio
|
Date
| Reply #2 on Wed 15 Jun 2005 02:14 PM (UTC) |
Message
| To Life Immortal
I wanted to say thank yo ufor helping me with MUSHClient. Your solution works like a charm!
Thank you Flannel
Babochka | 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.
11,514 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top