 |
Ruderion Novice
Joined: 12 Jan 2003 Posts: 33 Location: Netherlands
|
Posted: Wed Aug 18, 2004 9:17 pm
Substitute trigger |
Im looking for a way to make text on the mud screen a little smaller by shortening some standerd things. I used the substitute command and it works except for 1 thing. All color on the line behind the replaced text has disappeared.
How can i use substitute and still have collor?
This is the trigger i use, the text spoken also gets logged to a sub window.
#TRIGGER {You ask Rovlan the mercenary for a quest.} {}
#COND {Rovlan the mercenary says (*)} {#substitute {Rovlan says %1};#WIN quest %1} {looppat|param=10} |
|
|
 |
Falan Wanderer

Joined: 17 Aug 2004 Posts: 98 Location: OK, USA
|
Posted: Thu Aug 19, 2004 4:09 am |
Do you have a #TR in the quest window to color the text?
|
|
_________________ zMUD 7.05a |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Aug 19, 2004 9:36 am |
Simply remove the text you don't want instead of recreating the whole line.
#COND {Rovlan (the mercenary )says (*)} {#psub {} %x1;#WIN quest {%2}} {looppat|param=10} |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
|
|