|
Seyen Beginner
Joined: 31 Aug 2005 Posts: 15
|
Posted: Sat Sep 17, 2005 7:24 am
Showing variable content with " |
I have a variable set to #SHOW. The problem is, the contents of the variable contain " , so when it's shown, the parser strips the " character.
example
VarContent: Tia, "No Skill, Just Luck" is here.
Show Output: Tia, No Skill, Just Luck is here.
How do I show the " without modifying the var to contain ~" instead of ", or at leat, how do I do that? I can't figure how to make %replace not consider " a quote character. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Sep 17, 2005 8:37 pm |
Since %literal() or %quote() by necessity require you to modify the variable...maybe you could try unchecking the Strip Quotes item in Prefernces?
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
billaben Wanderer
Joined: 02 Sep 2005 Posts: 60
|
Posted: Tue Sep 20, 2005 10:45 pm |
Personally I'd reccomend just subbing out any quotes your mud sends since frankly they are going to be a royal PITA to deal with you you don't.
#TRIGGER {~"} {#SUB {'}}
You can sub out any special characters this way if they are too troublesome to work around. |
|
|
|
|
|