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
➜ General
➜ get variable
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Lw
(6 posts) Bio
|
Date
| Thu 17 Feb 2005 07:38 AM (UTC) |
Message
| in zmud it is @variable, how can i do it in mushclient? | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #1 on Thu 17 Feb 2005 07:49 AM (UTC) |
Message
| It depends. If you're doing it in an alias or trigger, you can use @variable when you check the "expand variables" box. If youre doing it in a script, you'll have to use getvariable. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Lw
(6 posts) Bio
|
Date
| Reply #2 on Thu 17 Feb 2005 08:10 AM (UTC) |
Message
| |
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #3 on Thu 17 Feb 2005 09:01 AM (UTC) |
Message
| Oh, yeah, timers too. I knew there was something I forgot. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Lw
(6 posts) Bio
|
Date
| Reply #4 on Thu 17 Feb 2005 09:56 AM (UTC) |
Message
| i am sorry for my poor english.
i can not find "expand variables" box in timers, | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #5 on Thu 17 Feb 2005 11:03 PM (UTC) |
Message
| You're right. You cant.
Instead, you'll have to use a little bit of scripting like this:
Change the dropdown menu 'send to' to "script"
then put this in the send box:
Send "Some text" & getvariable("variable") & "some more text"
you'll need to enable scripting, and set it to VBScript (for that example) (this can be done in the scripting config screen). |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Lw
(6 posts) Bio
|
Date
| Reply #6 on Fri 18 Feb 2005 12:17 AM (UTC) |
Message
| its work, thanks alot! | 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,967 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top