 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4734 Location: Pensacola, FL, USA
|
Posted: Sat Feb 15, 2003 9:35 pm
{^string} |
i used to remeber how to use this to preclude certain words from being in a certain variable but i forget how
^(%w) (*) promo
i want %1 {^You}
Shalimar
AIM: shalimarwildcat |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Sun Feb 16, 2003 12:18 pm |
The pattern would be:
^({^You}) promo
and then you would have to extract the first word from whatever was matched. However, a current bug with this will make your task very difficult. So, until it is fixed, you should stick with your old pattern and have an #IF to check what was matched:
#IF ("%1" <> "You") {do stuff here}
Kjata |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4734 Location: Pensacola, FL, USA
|
Posted: Sun Feb 16, 2003 12:21 pm |
to make the pattern not match You is that difficult to do?
Shalimar
AIM: shalimarwildcat |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4734 Location: Pensacola, FL, USA
|
Posted: Sun Feb 16, 2003 12:24 pm |
#TR {^(%w) (*) promo} {#IF ("%1" <> "You") {} {stuff i really wanna do}
like this?
Shalimar
AIM: shalimarwildcat |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Sun Feb 16, 2003 12:28 pm |
No, like this:
#TRIGGER {^(%w) (*) promo} {#IF ("%1" <> "You") {stuff you really wanna do}}
Kjata |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4734 Location: Pensacola, FL, USA
|
Posted: Sun Feb 16, 2003 12:51 pm |
ok i get it now, thanks
Shalimar
AIM: shalimarwildcat |
|
|
 |
|
|