Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
gmueller
Apprentice


Joined: 06 Apr 2004
Posts: 173

PostPosted: Thu May 13, 2004 4:36 am   

brackets not showing up
 
ok when someone casts darkness on a room descriptions sometimes look like:
Shunai Bridge. (road).
Occasional drops of rain fall to the ground from a sky grey with pregnant clouds.
Unholy darkness obscures your vision. H:2260 M:2260 [eb]

but the prompt is not on a new line

I'm using:
#TRIGGER {(*. %e[0m)(*H:%d *M:%d *~[*]%e[0m)} {#PSUB {%1<%cr>%2}} and manually convert it to trigger on prompt and contains ansi color codes

but now the last line displays like:

Unholy darkness obscures your vision.
H:2260 M:2260 eb <---needs brackets


It dropped the brackets around the [eb]
how do I fix this!
Thanks
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Thu May 13, 2004 4:47 pm   
 
Untested try quoting the %2 with "" // "%2"
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu May 13, 2004 7:49 pm   
 
#TRIGGER {(*. %e[0m)(*H:%d *M:%d *)~[(*]%e[0m)} {#PSUB {%1<%cr>%2"["%3}}
Untested. Similar #SUB trigger, without ANSI codes, works.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net