Diagnose

by Karrah

Back to Mechanic's Corner.

Karrah2005-03-08 03:11:21
I'm using currently using ZMUD (newest version), and I am one of the last remaining proud echo-healers.

But there is something I've been really wanting to do with the Diagnose display, but have no programing patience or intellegence to implement my ideas.

Basic Diagnose looks like this:

You are:
extremely oily
confused
paranoid
violently ill

What I was hoping to change the Diagnose to was this:

You are:
extremely oily - Calamus
confused - Pennyroyal
paranoid - Pennyroyal
violently ill - Choleric

Since Diagnose skill prints all of these lines at once, it's hard (impossible?) to manipulate each line. This Diagnose uplift would still force me to heal manually, but since I don't have the time to memorize every affliction/cure it helps, instead of:

"DIAG, HELP AFFLICTIONS, MORE, DIAG, HELP AFFLICTIONS, MORE, DIAG..."

If anyone knows a way to change the lines, I'd appreicate it.
Drago2005-03-08 03:19:30
Use #SUB

#TRIGGER {^violently ill.$} {#sub {%ansi(2)Violently ill. - Choleric}}

basically that'll change
violently ill.
to
Violently ill. - Choleric
Karrah2005-03-08 03:48:17
Thanks a million!
Drago2005-03-08 04:14:53
No worries.
Soll2005-03-10 13:04:42
or just

#SUB {^violenty ill} {Violenty ill - Choleric}

No fullstops after diagnose lines, either
Unknown2005-03-10 17:23:17
Diagnose lines are one of the few places where you can count on it being anchored at the beginning and end. I'd actually say that your trigger, Soll, could create an infinite loop.
Richter2005-03-10 18:25:37
I think that would be neat to have, even if you don't cure manually.

Someone post the full set!