Omit From Output... Replace Output?

Posted by VBMeireles on Fri 17 Sep 2010 11:51 AM — 2 posts, 14,531 views.

Brazil #0
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".
Amended on Fri 17 Sep 2010 11:53 AM by VBMeireles
Netherlands #1
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.