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
➜ Omit From Output... Replace Output?
Omit From Output... Replace Output?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| VBMeireles
Brazil (47 posts) Bio
|
Date
| Fri 17 Sep 2010 11:51 AM (UTC) Amended on Fri 17 Sep 2010 11:53 AM (UTC) by VBMeireles
|
Message
| As suggests the topic subject, is it possible to have a trigger actually not only omit, but replace the output sent by the MUD with custom text/data set by the trigger script?
EDIT: The reason for that is that in my prompt, I get a distance output that is "20 feet", and I don't like the "feet" part. I was wondering if I can make it omit only the " feet", leaving the "20" and maybe even have the trigger calculate that in meters and show me the prompt with the distance in meters replacing the "20 feet". |
Vinícius | Top |
|
Posted by
| Worstje
Netherlands (899 posts) Bio
|
Date
| Reply #1 on Fri 17 Sep 2010 11:54 AM (UTC) Amended on Fri 17 Sep 2010 11:57 AM (UTC) by Worstje
|
Message
| Yes. This is done by omitting from output, and then Sending to Output and typing what you want to see in the Send field, or, if you want to do it fancy and maybe with multiple colors, by Sending to Script (or using a function in your script file), in which you use a combination of world.Tell & world.Note, or the coloured varieties world.ColourTell and world.ColourNote. | 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.
12,031 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top