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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Fri Apr 03, 2009 9:50 pm   

Un-Wordwrapping
 
I don't suppose anyone has come up with a script that will concatenate together the lines between prompts/those not ending in proper punctuation (with or without trailing spaces)?

That way i can force a paragraph of text to appear all on one line, for those MUDs with enforced line lengths.
_________________
Discord: Shalimarwildcat
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Apr 04, 2009 10:47 am   
 
Much easier would just be to convince your MUD admins to add an option to set the word wrap length :P
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Sat Apr 04, 2009 5:12 pm   
 
You would think so. But I've been prodding them for years.
_________________
Discord: Shalimarwildcat
Reply with quote
chris-74269
Magician


Joined: 23 Nov 2004
Posts: 364

PostPosted: Fri Apr 10, 2009 3:09 am   
 
One way to do it would be use mudbot proxy to put all your lines together so cmud things the mud is sending lines unwrapped. Another way would be something like this,

#regex {([^\t\n\r])} {lineconcat=%concat(@lineconcat,%1)}. Then make a prompt trigger to display this variable and clear it. The pattern likely isn't 100% with what is included, or likely could just be ^\n, but you get the idea hopefully
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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