[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Omit from output and note
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Omit from output and note

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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 &quot;This is not displayed&quot;</send>
  </trigger>
</triggers>

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Nick Gammon   Australia  (21,386 posts)  [Biography] 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
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] 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.
[Go to top] top

Posted by Nick Gammon   Australia  (21,386 posts)  [Biography] 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
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] 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.
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] 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.


4,217 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]