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
shalimar
GURU


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

PostPosted: Mon Jun 12, 2006 6:33 am   

%clip()
 
Is there a way to force a carriage return onto the clipboard with %clip?

I've tried using %cr and ; within the parenthasis, and while %cr will break it up on an e#cho, its is simply stripped out of the actual clipboard contents.
_________________
Discord: Shalimarwildcat
Reply with quote
edb6377
Magician


Joined: 29 Nov 2005
Posts: 482

PostPosted: Mon Jun 12, 2006 7:17 am   
 
i dont remember which char it is 32(might be space i dont remember) maybe? you could use that instead
Reply with quote
Ceres
Wanderer


Joined: 25 May 2006
Posts: 88

PostPosted: Mon Jun 12, 2006 7:35 am   
 
I believe %char(13) should be a carriage return in ascii
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Jun 12, 2006 11:48 am   
 
Keep in mind that Windows doesn't recognize just a carriage return as a newline. It also needs a linefeed. So try using %crlf or the ASCII codes for a carriage return and a linefeed.
_________________
Kjata
Reply with quote
shalimar
GURU


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

PostPosted: Mon Jun 12, 2006 7:42 pm   
 
i tested it out,
as it turns out the carriage return %char(13) isnt needed
it looks like linefeed %char(10) implies it
at least it drops it to the next line all by itself

#SAY %clip(hi%char(10)there)
_________________
Discord: Shalimarwildcat
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