Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Deria
Newbie


Joined: 06 Jul 2010
Posts: 9

PostPosted: Wed Oct 20, 2010 2:41 pm   

Sending & to the mud
 
Hey!

I have an alias named "test".

Now i would like to make an alias which does send the following to the mud "test & test".

In the mud you can make a queue with the & characater.

So test should be done, and 2 secs later another one of test will be done.

But & is a special characater in cmud. I even tried it with "test ~& test" ... but doesnt work.

Any help?
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Wed Oct 20, 2010 4:16 pm   
 
Simply quoting what you are sending in the alias will do what you want.

Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <alias name="test" copy="yes">
    <value>"test &amp; test"</value>
  </alias>
</cmud>


Although, I would like to know more about what you doing because I suspect there may be another problem. Can you post exactly what you are trying to do. For example if you alias is name "test" and the content is "test & test" without the quotes, you have essentially created an infinite loop.
_________________
Asati di tempari!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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