|
dime Novice
Joined: 15 Dec 2002 Posts: 35
|
Posted: Sun Jun 13, 2004 9:26 am
strings matching |
Sorry, but I can't seem to find the right syntax for this?
#TRIGGER {bla bla bla (*) bla bla bla} {#if (%1="abc def") {#show yes %1 matches "abc def"} {#show no %1 does not match "abc def"}}
[#show bla bla bla abc def bla bla bla]
bla bla bla abc def bla bla bla
yes abc def matches abc def
[#show bla bla bla fed cba bla bla bla]
bla bla bla fed cba bla bla bla
yes fed cba matches abc def
I've tried a bunch of different expressions. But what is the right syntax to do this? |
|
|
|
Danlo Magician
Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: Sun Jun 13, 2004 9:39 am |
#trigger {bla bla bla (*) bla bla bla} {#if ("%1" = "abc def") {TRUE CMDS} {FALSE CMDS}}
|
|
|
|
|
|