|
Zafrusteria Wanderer
Joined: 11 Oct 2000 Posts: 94 Location: United Kingdom
|
Posted: Wed Sep 04, 2002 6:31 pm
Help with a trigger pattern |
Hi
I need some help with a trigger pattern when running on 6.16.
Current trigger pattern %d%s-%s(*)%s(%d)%s(*)%s(%d)$
Output from mud
1 - The avatar 51 Ultima 38
2 - The violet master 51 The Mirror Realm 35
3 - The master of light 51 The Mirror Realm 21
1 - Teutonian guard 52 Earth Plane 4 24
The problem is with lines like the last one, that is there is a digit in the name of the area. "Earth Plane 4" this messes with the pattern and you get
%1 = Teutonian guard 52 Earth Plane
%2 = 4
%3 = ""
%4 = 24
Zaf |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Sep 04, 2002 7:04 pm |
How about this pattern:
%d%s-%s([A-Za-z ])%s(%d)%s(*)%s(%d)$
Kjata |
|
|
|
Zafrusteria Wanderer
Joined: 11 Oct 2000 Posts: 94 Location: United Kingdom
|
Posted: Wed Sep 04, 2002 7:53 pm |
That will be the answer. :-)
Thanks
Zaf |
|
|
|
|
|