|
Hroomha Beginner
Joined: 03 Sep 2004 Posts: 11
|
Posted: Mon Nov 15, 2004 7:11 am
pattern match end of line help please? |
the mud output looks like this
You find its closed blood-stained sack (..or bag or pouch...etc)
or
You find its hemp sack
trying to do a get sack ( or bag or pouch)
mine looks like this...
trigger: You find its(*)${bag|pouch|sack}
value: get %1
thanx for any help...
Rick |
|
_________________ Hroom's Hand |
|
|
|
mortie Wanderer
Joined: 26 Sep 2002 Posts: 73 Location: United Kingdom
|
Posted: Mon Nov 15, 2004 8:17 am |
You can do this a number of ways. Slight adjustment to your trigger
#TRIGGER {^You find its %w ({bag|pouch|sack})$} {get %1}
or this way
#TRIGGER {^You find its %w ({@container_list})$} {get %1}
The variable container_list is a stringlist of all the bags you want to match.
This is my prefered method. |
|
|
|
|
|