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
➜ Removing Output
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Jamal
(20 posts) Bio
|
Date
| Tue 06 Jan 2004 03:36 AM (UTC) |
Message
| Is there a way to prevent output information from a world from being displayed while still setting of triggers? I'm working on a project where I'm using timers to continuly get information for a status screen I'm creating (thats a seperate program), however, theres no need to the information to ever reach the screen. Anyway of filtering it out? | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 06 Jan 2004 03:59 AM (UTC) |
Message
| Check "omit from output" in the trigger. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #2 on Tue 06 Jan 2004 04:05 AM (UTC) |
Message
| If you mean, how do you send from a timer without it being echoed, make the timer do sendnoecho, and send to script, like this:
Send: SendNoEcho "score"
Send to: Script
That would send "score" to the MUD at whatever interval, however the word "score" is not echoed on your screen. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Jamal
(20 posts) Bio
|
Date
| Reply #3 on Thu 08 Jan 2004 01:42 AM (UTC) |
Message
| I'm using a series of triggers to proccess and capture information from a status display. The first trigger is set off when the first line of the display is sent from the world, and thent heres a string sent to follow the display to determine where it ends. However, there are soem headings and lines (---) between some of the information which are there for cosmetic purposes. I set up a simpe '^.*$' to capture the misc things sent and keep them from the output. The problem I'm having is that the last line which is a a repeating '-' series flashes on the screen then disappears. It happens quickly, but since a timer is continuly getting the display from the world, it makes the screen look like its bouncing up and down. There anyway to eliminate this flashing? | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #4 on Thu 08 Jan 2004 03:17 AM (UTC) |
Message
| It is the nature of its design that things are put on the screen as they arrive. Then when the newline arrives (which is not necessarily for a while in the case of a 'prompt' line) the triggers are processed.
Thus a trigger that omits a line will temporarily show it. This is a design feature and cannot be changed (at least in the current version). |
- 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.
14,022 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top