 |
pRoF Beginner
Joined: 14 Aug 2004 Posts: 11
|
Posted: 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... |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
 |
Theragil Apprentice

Joined: 13 Feb 2004 Posts: 157 Location: USA
|
Posted: Sun Feb 20, 2005 4:18 am |
Or just use #send. For instance, #send " my command".
|
|
|
 |
pRoF Beginner
Joined: 14 Aug 2004 Posts: 11
|
Posted: Sun Feb 20, 2005 6:56 am |
Tanks =8)
|
|
_________________ I found it hard...
It was hard to find...
Ohwell...
Whatever...
Nevermind... |
|
|
 |
|
|