 |
cravo Newbie
Joined: 20 May 2004 Posts: 3 Location: USA
|
Posted: Sat May 29, 2004 6:56 am
matching on a string list with wildcards |
I have the following list and trigger:
#VAR diagMessageList {snaps %w fingers in front of you.|You are confused as to the effects of the venom.}
#TRIGGER {{@diagMessageList}} {diag}
however the trigger only ignores the wildcard and looks for the "%w" literaly.
How can I make this trigger match on the string:
"snaps her fingers in front of you."?
Thanks! |
|
|
|
 |
DeReP Adept
Joined: 14 Jun 2003 Posts: 222 Location: Chile
|
Posted: Sat May 29, 2004 8:01 am |
Have you tryed using () around the %w?
|
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat May 29, 2004 3:56 pm |
Use literal strings.
#VAR diagMessageList {snaps her fingers in front of you.|snaps his fingers in front of you.|snaps its fingers in front of you.|You are confused as to the effects of the venom.} |
|
|
|
 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat May 29, 2004 5:04 pm |
I think cravo's *might* be possible by allowing wildcards in {}
VIEW->settings->general->script parsing and check wildcards in {} triggers
I havn't tested this so I can't say for sure if it works you also might need to use %%w but as I said not tested |
|
|
|
 |
|
|
|