I'm a fairly new user to MUSH, and while I love the flexibility of the program compared to what I used to use, there's one thing I'm totally missing, and that's the ease of subbing/psubbing like a former client could do. Here's what I'm looking for as far as this functionality.
I currently have a trigger that take "(K)(M)(I)(G)(H)" and shortens it to "(KMGH)" with the () colorized based on whether "I" is there or not. The problem is, I want it to display the rest of the line as well, colorized as normal. So, for instance, if I have
and "Bag of" is yellow, "Aardwolf" is red, "(241)" is white and green, I want the script to return:
with "Bag of" yellow, "Aardwolf" red, and "(241)" white and green.
So, my question is, what's the easiest way to go about this?
I currently have a trigger that take "(K)(M)(I)(G)(H)" and shortens it to "(KMGH)" with the () colorized based on whether "I" is there or not. The problem is, I want it to display the rest of the line as well, colorized as normal. So, for instance, if I have
(K)(M)(G)(H) a Bag of Aardwolf (241)and "Bag of" is yellow, "Aardwolf" is red, "(241)" is white and green, I want the script to return:
(KMGH) a Bag of Aardwolf (241)with "Bag of" yellow, "Aardwolf" red, and "(241)" white and green.
So, my question is, what's the easiest way to go about this?