Mudlet: highlighter questions

Have a question about which MUD client works best with SI? Looking for a free app that lets you log in from your phone? Need help with a complicated script? This is the place.
Post Reply
User avatar
muDgate
Citizen of Archai
Posts: 40
Joined: Wed Oct 22, 2014 2:41 am

Mudlet: highlighter questions

Post by muDgate »

So i can not for the life of me figure out how to highlight battle damage. For example:

A drunk sasquatch swings a flaming rubber-chicken at you.
The attack is a glancing blow (33).

All i want to do is change the color of the (33) but i don't know how to use Regex to capture parentheses.

I know i wont get hit for the same damage every time which is why i thought using a capture group like (.+) would work best. but I can't figure out how to assign a color to a specific matches[] group.

I don't want anything but the damage/numbers highlighted.

Can anyone help?
Verithain
Citizen of Archai
Posts: 16
Joined: Mon Nov 10, 2014 7:24 pm

Re: Mudlet: highlighter questions

Post by Verithain »

Hmm I don't know how to highlight JUST the numbers, but with "colorset" I change the color of all incoming attacks and all of my attacks so that combat doesn't look like a giant scroll. I set my attacks to "light cyan" and incoming attacks to "light red" and I've found that makes it much easier to follow a fight.

I'd also STRONGLY recommend that you download and use the custom Mudlet interface posted in these forums. Youll get health/ftg bars, skill window, target window, arrival/tell window, compass, and a group window. I dont think id enjoy the game half as much without this interface.
Post Reply