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


Joined: 31 Jul 2002
Posts: 19
Location: USA

PostPosted: Wed Jul 31, 2002 11:30 am   

the quote symbol
 
I have what I'm sure is an easy question, but I cannot find the answer. I am making aliases for my spells. I have no problem when the spell name is one word. -cast "create"- sends -cast create- to the mud and makes a magic mushroom. but I have cascw set to -cast "create water"- but what gets sent to the mud is -cast create water- (no quotes) and a magic mushroom is created. How can I get the quotes in there so csacw creates water and not mushrooms? I tried " which added slashes, not quotes. Thanks in advance.

-Dana
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed Jul 31, 2002 1:09 pm   
 
You have two options:
1. Use single quotes. In my MUD single quotes work just as well and zMUD won't strip them.
2. Use the quote character to prevent zMUD from parsing the double quotes. Example:
cast ~"create water~"

Kjata
Reply with quote
Apollyon
Wanderer


Joined: 02 Oct 2001
Posts: 76
Location: USA

PostPosted: Wed Jul 31, 2002 10:05 pm   
 
just use single quotes
should work therefore
#alias {cascw} {c 'create water'}
i think that zmud ignores the " when you type it so when in your previous alias you have
c "create water"
zmud sees it as
c create water
the mud will pick up only the first word of the spell when ' ' is not used
and it will think c create
and some you cannot create magic mushrooms at people it will ignore the water part
if you have a spell such as heal major
and you type c "heal major" bob
the mud will pick up c heal major bob
since the person major isnt there it will fail
just use c 'heal major' bob, forget about using the " completely, plus it saves you a shift...
Reply with quote
DanaLea
Beginner


Joined: 31 Jul 2002
Posts: 19
Location: USA

PostPosted: Wed Jul 31, 2002 10:34 pm   
 
thank you both so much! I knew there was a way to do it, but it's been so long since I played that i couldn't remember. Again THANKS.

-Dana
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