|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: 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 |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Sat Apr 04, 2009 5:12 pm |
You would think so. But I've been prodding them for years.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: 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 |
|
|
|
|
|