|
Belmyrddyn Magician
Joined: 17 Oct 2001 Posts: 371 Location: USA
|
Posted: Tue Feb 26, 2002 12:56 am
Wildcards in Variables |
I'd like to create a variable called Speech, which will hold all the ways that speech can be relayed in DR (%w says, You say, %w asks, etc.). How do I get the wildcards to work in variables so that #TRIG {{@Speech}} {#CW 12} will work?
Belmyrddyn |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Feb 26, 2002 1:00 am |
Nope, the syntax of
{stringlist}
won't accept wildcards. It only accepts literal strings. What you need to do, is to try and create a pattern that will match all of these with the wildcards outside of any {stringlist} pattern. Example:
#TRIGGER {%w {say|says|asks}} {#CW 12}
Kjata |
|
|
|
|
|
|
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
|
|