|
yared Beginner
Joined: 11 Dec 2003 Posts: 17 Location: Netherlands
|
Posted: Thu Jan 22, 2004 2:30 pm
How2: IGNORE not GAG |
version 4.62 VME Valheru.com
PATTERN 1: A red eyed bug is dead!
PATTERN 2: Patricia is dead!
The difference between these two is that pattern 1 is a mob, and pattern 2 is a real person.
Nr.1 has 'A' in front of it and two describing names before the actual foo name (the descriptions on a mob can vary from <1> red bug, <2>red eyed bug, <3>red eyed wild bug)
I want to count the number of foo's killed in battle and have the counter ignore the part that describes the foo and also ignore if it's a real person and not a mob.
Allready have the #ADD fookilled 1 counter. |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Thu Jan 22, 2004 3:51 pm |
whell pattern matching is what you would be researching in the help fils, but here is an example based on the above info:
#trigger {^A * is dead~!} {#add fookilled 1}
so unless you get the message:
A Patricia is dead!, this example should work fine.
I used "^" to match the beggining of the pattern and "*" is the wild card to match any mob. |
|
|
|
|
|
|
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
|
|