|
enema Beginner
Joined: 06 Aug 2009 Posts: 11
|
Posted: Fri Sep 18, 2009 11:49 am
Parsing a string |
First of all thanks for being so helpful in the past few days. For my next question...
I would like to parse this string:
#VAR perform {sit;stand}
So that when I use:
#TRIGGER {*special*} {@perform}
..it sends:
sit
stand
Rather than:
sit;stand
.. which the mud/client doesn't interpret as two commands and therefore doesn't process. |
|
|
|
enema Beginner
Joined: 06 Aug 2009 Posts: 11
|
Posted: Fri Sep 18, 2009 12:08 pm |
%cr - got it, sorry, I've been looking for that in the help files for hours and had come to the conclusion it didn't exist when I found it.
Thanks anyway |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Sep 18, 2009 8:37 pm |
Why not just use your separator special character (by default, it's the semi-colon)?
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|