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
➜ How to: Read result of action, enter info into variable, use variable
How to: Read result of action, enter info into variable, use variable
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| VJMarcus
(1 post) Bio
|
Date
| Mon 03 Mar 2014 12:28 PM (UTC) Amended on Mon 03 Mar 2014 01:11 PM (UTC) by VJMarcus
|
Message
| G'Day
Here is what i want to do
I run a "tell the time" alias to get this result
The chronograph is open, showing that the current time is 12:50am, Thursday 16th June Prime, UC 2033, the moon is in its waxing crescent phase, and the weather is cloudy.
I then want to enter something like this
(alias name) (spellname) (variable)
with (variable) being the words between "showing that the current time is" and the full stop at the end of the line
How do i do this?
I'm doing a c&p atm and would like to reduce it to a single word which sends what ever is in that section in place of the word.
I did read elsewhere about putting selected text into the clipboard, even doing a control-v will be ok
TIA
VJM | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Mon 03 Mar 2014 10:17 PM (UTC) |
Message
| Well, you want a trigger that matches something like:
The chronograph is open, showing that the current time is *.
Save that (%1) into a variable and use that variable in your alias. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
8,174 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top