How to add to output?

Posted by Skasi on Tue 01 Feb 2011 09:41 PM — 2 posts, 13,838 views.

#0
I would like to know how I can add custom text to the output. I need to add nicknames to characters to be able to recognize them.

Example:
Server sends "Laughing maniacally, an enormous, blue-skinned man points a finger at you."
I want the string " (Tom)" to be added next to "an enormous, blue-skinned man"
-> "Laughing maniacally, an enormous, blue-skinned man (Tom) points a finger at you."

I tried around using triggers, but couldn't find a way to succeed.
#1
http://mushclient.com/forum/bbshowpost.php?bbsubject_id=10500

this was along those lines. might have a few pointers to get you going