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
➜ Bug reports
➜ Omit from output and note
Omit from output and note
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Poromenos
Greece (1,037 posts) Bio
|
Date
| Sun 31 Oct 2004 09:10 PM (UTC) |
Message
| The following trigger does not display the note, am I missing something obvious?
<triggers>
<trigger
enabled="y"
match="test"
omit_from_output="y"
send_to="12"
sequence="100"
>
<send>note "This is not displayed"</send>
</trigger>
</triggers>
|
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 31 Oct 2004 09:38 PM (UTC) Amended on Sun 31 Oct 2004 09:39 PM (UTC) by Nick Gammon
|
Message
| Yes, that is a known feature. :)
Immediate execution of scripts tacks notes onto the end of the lines in the output window, which are then omitted from output. Basically it remembers where the output started and omits from there on.
To work around this you need to call a script in your script file. The execution of that script is deferred until after the lines have been omitted, and thus the world.note will work.
Conceivably you could do a DoAfterNote to put the line there a second later, if that was acceptable. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #2 on Sun 31 Oct 2004 09:43 PM (UTC) Amended on Sun 31 Oct 2004 09:44 PM (UTC) by Flannel
|
Message
| You could also send to output, assuming thats all you want to do (just the note, not anything else). |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Mon 01 Nov 2004 12:49 AM (UTC) |
Message
| No, that will have the same problem. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #4 on Mon 01 Nov 2004 04:35 AM (UTC) |
Message
| No it wont. It works. Try it. (I tested before I posted) however, sending to execute DOES have the same problem. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Poromenos
Greece (1,037 posts) Bio
|
Date
| Reply #5 on Mon 01 Nov 2004 07:09 AM (UTC) |
Message
| Nah, I need to do some other scripting stuff too there... Any chance of getting a fix? (And not in the drug addict sense :P) |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | Top |
|
Posted by
| Poromenos
Greece (1,037 posts) Bio
|
Date
| Reply #6 on Tue 02 Nov 2004 05:33 PM (UTC) |
Message
| Why not just omit the MUD line? It doesn't make sense to omit the rest, and since there's no multiline omitting you could just have it remove the first line and print the rest. |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | 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.
17,948 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top