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
LEit
Novice


Joined: 27 Jul 2002
Posts: 38
Location: USA

PostPosted: Fri Aug 16, 2002 5:06 pm   

Ignoring newlines
 
Is there some way to have a trigger ignore newlines? I've got some strings I want to change the color of (basicly make them less noticable - #CW black) but they may or may not be split across several lines.

For example:
Skeletons of those that died on this long and perilous journey litter the
landscape, all have been looted for their valubles. Sparse vegitation, an
occasional weed or cacti, seem to spring from nowhere. The sun bleached
rocks scald your feet as sand burns your nose and mouth. The air here is
cooler in the shade of the dune but the heat is still heavy and oppressive.


On the horizon to the northeast you can just make out a small cluster of
trees in the valley between two dunes, possibly one of a few rare oasis in
the trackless desert wastes. Skeletons of those that died on this long and
perilous journey litter the landscape, all have been looted for their
valubles. The dune behind you provides some shelter from the wind and many
debris have gathered here, small stones and rocks, bones and skulls bleached
by the sun and polished by the wind and sand.

I want to CW this line:
Skeletons of those that died on this long and perilous journey litter the
landscape, all have been looted for their valubles.

But in one paragraph it's broken one way, and in the second paragraph it's split another way. There are more of these too, split in even more ways.
Reply with quote
EdwinDroom
Wanderer


Joined: 25 Jan 2002
Posts: 77
Location: Ireland

PostPosted: Sun Aug 18, 2002 3:30 am   
 
If they are fairly specific, you can combine newlines and wildcards -

#TR {Skeletons of those that died (*)$(*)have been looted for their valubles.} {#COLOR black}

"I've got an allergy to Perrier, daylight and responsibility" - Marillion

Check out Moral Decay on 131.247.113.1 3003
Reply with quote
LEit
Novice


Joined: 27 Jul 2002
Posts: 38
Location: USA

PostPosted: Mon Aug 19, 2002 2:50 pm   
 
No, they're not that specific, also there are two new lines in one case...

From the lack of responses, it seems like this is not possible.
Reply with quote
AzCowboy
Adept


Joined: 09 Nov 2000
Posts: 222
Location: USA

PostPosted: Mon Aug 19, 2002 4:01 pm   
 
The easiest way would be to check for a Columns(or width) command on your mud, to set the columns(width) as high as possible. (my fav mud lets me set it to 1024) This will let zMud handle the word wraps, and gets rid of problems with broken lines.

AzCowboy
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