TinTin++ Mud Client Manual
Substitute
space
Syntax: #substitute {message} {newmessage} {priority}
space
The #substitute command allows you to change mud output. The %1-99 variables are substituted from the message and can be used in the newmessage part of the substitute. The %0 variable shouldn't be used in the message part. The priority part is optional and determines the priority of the substitute, it defaults to 5.
space
See the section on Regular Expressions' for information about pattern matching.
space
You can add tintin color codes in the newmessage part to change the color of the message, default all the previous color codes of the mud message are stripped. See Colors for more information.
space
Example: #substitute {%1 tells you '%2'} {<128>%1 <138>tells you '<128>%2<138>'}
space
Add this substitution and give yourself a tell to see the result.
space
Notice: You can remove substitutions with the #unsubstitute command.
space
See also: Action, Gag, Highlight and Prompt.
space