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
Ryuichi
Beginner


Joined: 26 Oct 2004
Posts: 19

PostPosted: Fri Sep 02, 2005 2:39 pm   

Sending special characters to mud/file?
 
The answer to this is probably something I'm overlooking. I like to use tab-delimited text files because I can import them into excel or access.

If I have say two variables, @zone and @mobName, how do I output
@zone(TAB)@mobName?

I realize there's probably an ascii code for tab, but I should think there is probably something like "\t" used in many other languages?
Reply with quote
Carabas
GURU


Joined: 28 Sep 2000
Posts: 434
Location: USA

PostPosted: Fri Sep 02, 2005 6:45 pm   
 
Nope, no \t or similar escape sequence that I'm aware of. Use %char(9).

ASCII Code Table
_________________
Carabas
Reply with quote
Ryuichi
Beginner


Joined: 26 Oct 2004
Posts: 19

PostPosted: Fri Sep 02, 2005 6:54 pm   
 
Almost as easy :) Thank you.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Sep 02, 2005 8:47 pm   
 
Thanks for the link. I am always looking for reference data like that. Normally I would just memorize the special codes (<32) and create someting to output everything else for my needs/ However this reference comes in handy. It is a lot better then grabbiing the right one of the ancient books off the shelf behind me and locating the proper appendix.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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