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
➜ Jscript
➜ get back last send to world text
get back last send to world text
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Avariel
Portugal (55 posts) Bio
|
Date
| Tue 27 Aug 2002 04:51 PM (UTC) |
Message
| what im trying to do is set a trigger that redo the last 'send to world action' from the last function.
something like.. a trigger runs the function
function at_trigger () {
world.send ("say something to mud");
}
that send text wont go to command window so i cant go there and get last command to do it again. ide like to know if theres any way to , after i send something to mud, i go back and get what i send to do something with it.
thx. |
The Avariel Wind Lord | Top |
|
Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 29 Aug 2002 04:51 AM (UTC) |
Message
| After quite a bit of mucking around it seems to me that the current version of MUSHclient does not easily support doing that.
Thus, in version 3.27 there is a new function "SendPush" that sends the command *and* puts it into the history window.
Then you can just recall it with up-arrow, or re-send it with Ctrl+R. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Avariel
Portugal (55 posts) Bio
|
Date
| Reply #2 on Thu 29 Aug 2002 02:45 PM (UTC) |
Message
| thx nick,
that command will help a lot in my scripts. |
The Avariel Wind Lord | 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,538 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top