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
Talahaski
Enchanter


Joined: 10 Oct 2000
Posts: 656
Location: USA

PostPosted: Mon Dec 16, 2002 12:31 am   

#SUB
 
How can I use a #SUB to have text go to a new line, and them be able to trigger off that new line.

This is what I am trying to do,

My mud displays the light level within the room description so I want to seperate it so I can issue the #NOMAP command.

IF I just trigger off the light level, the entire description line gets the #NOMAP instead of just the light level.

Example room

A very small tunnel
You are deep underground in a very small rocky tunnel. The ceiling here is very very low. A large pool forms in this room. It is blindingly bright here.
Exits: north, east, southwest, and west.

I have tried using the following.

#TR {It is blindingly bright here.} {#SUB {%CR It is blindingly bright here.}

This appears to format the screen correctly by placing the light level on a seperate line, but if i add a second trigger to #NOMAP this line, the second trigger never gets fired.

#TR {^It is blindingly bright here.} {#NOMAP;#COLOR white}

Talahaski
Processor PIII 1000
Memory 265MB
Video NVIDIA 64MB
Windows XP
Zmud Version 6.37a
Zmapper Version 1.14
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Dec 16, 2002 12:47 am   
 
Seems like you can't. It appears that text produced by #SUB is not checked agaisnt any other triggers for matches.

Kjata
Reply with quote
Castaway
GURU


Joined: 10 Oct 2000
Posts: 793
Location: Swindon, England

PostPosted: Mon Dec 16, 2002 9:16 am   
 
Looks like you'll have to try it the other way around, using #TAG.

Lady C.
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