|
Caled Sorcerer
Joined: 21 Oct 2000 Posts: 821 Location: Australia
|
Posted: Wed Feb 25, 2004 4:26 pm
parsing question - quotes |
#AL mt {clan 5 tell %-1}
#AL mt {clan 5 tell }
#AL mt {clan 5 tell "%-1"}
I use the alias to speak to clan number 5. I have similar aliases for all clans I am a part of. If I want to say something with quotes in it, though - they get stripped.
For example... I enter
mt some words here "quoted part" end of sentence.
and I want to see this returned:
(clanname): You say, "Some words here "quoted part" end of sentence."
but what I see is:
(clanname): You say, "Some words here quoted part end of sentence."
which makes for a confusing sentence.
How can I make it send exactly what I type in? |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Wed Feb 25, 2004 6:28 pm |
#AL mt {clan 5 tell %literal(%-1)}
|
|
|
|
Caled Sorcerer
Joined: 21 Oct 2000 Posts: 821 Location: Australia
|
Posted: Wed Mar 10, 2004 3:13 am |
When I try to do this as nexela suggests.. the problem lies in when I try to use commas in anything I say.
%-1 appears to reference only the parameters after the alias, yet before the first comma.
so..
mt hi, how are you?
sends:
clan 5 tell hi
to the mud.
How can I get around this? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Mar 10, 2004 6:07 pm |
Set your Script Parser preferences to disable Strip " quotes
#AL mt {clan 5 tell} |
|
|
|
|
|