Gammon Forum
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
| can i do it in timer? | top |
|
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.
13,109 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.