About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
pRoF
Beginner


Joined: 14 Aug 2004
Posts: 11

PostPosted: Sat Feb 19, 2005 11:34 am   

Blank spaces before command
 
When i send a command to the mud zMUD removes all the blank spaces before the first character. How can i stop this?
_________________
I found it hard...
It was hard to find...
Ohwell...
Whatever...
Nevermind...
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Feb 19, 2005 9:20 pm   
 
Put the command in a variable and then send @variablename. Or, you could perhaps use %repeat(" ", 3)command or something like " "command. Other than the variable, none of these are guaranteed to work and may in fact cause your command to mess up once sent to the mud (ie, the %repeat() spaces might still be removed or the quotes might be sent along with the spaces).

Why in the world would you need to send spaces before a command, though? No doubt the MUD's trying to strip them as well.
_________________
EDIT: I didn't like my old signature
Reply with quote
Theragil
Apprentice


Joined: 13 Feb 2004
Posts: 157
Location: USA

PostPosted: Sun Feb 20, 2005 4:18 am   
 
Or just use #send. For instance, #send " my command".
Reply with quote
pRoF
Beginner


Joined: 14 Aug 2004
Posts: 11

PostPosted: Sun Feb 20, 2005 6:56 am   
 
Tanks =8)
_________________
I found it hard...
It was hard to find...
Ohwell...
Whatever...
Nevermind...
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