Gungadin
03-24-2002, 08:50 PM
I understand that each section of the filters file does different things, but was wondering if someone can explain 'regular expressions'. (i assume this is a Linux thing)
So far it seems that if you want to be alerted to a particular named mob, you use
Name:The Mobs Name Case Sensative (ie Name:Grimfeather)
Or for any mob of a particular race
Race:The Mobs Race Case Sensetive (Ie Race:Dark Elf)
And you can use a semicolon and numbers to specify a level range. (ie Race:Dark Elf;26-29)
But what about the [^:] expression, what does it mean?
What about when [^:] is followed by things like [^:]* or [^:]*: or [^:]*:.*
What is the difference between
Race:[^:]*Guard[^:]*:
Race:*Guard[^:]*:
Race:[^:]*Guard*:
Race:Guard*:
etc
And how does this sentance know that it's looking for an item of Light:GLS, not a level range of Light:GLS?
Name:[^:]*will[^:]*:.*:Light:GLS:.*
Also, is there any way to put in a filter for mobs with # at the front of their name other than using the search bar?
In summary, what are all the comoponents i can use to build a detailed and specific filter, including name, race, level limit and item held, plus anything else possible. And can we have this info put up into the docs section for everyone to access so no more questions about it from noobs like me :-)
Ant thanks to Blue Adept for the Zone specific filter files, a big time saver there.
So far it seems that if you want to be alerted to a particular named mob, you use
Name:The Mobs Name Case Sensative (ie Name:Grimfeather)
Or for any mob of a particular race
Race:The Mobs Race Case Sensetive (Ie Race:Dark Elf)
And you can use a semicolon and numbers to specify a level range. (ie Race:Dark Elf;26-29)
But what about the [^:] expression, what does it mean?
What about when [^:] is followed by things like [^:]* or [^:]*: or [^:]*:.*
What is the difference between
Race:[^:]*Guard[^:]*:
Race:*Guard[^:]*:
Race:[^:]*Guard*:
Race:Guard*:
etc
And how does this sentance know that it's looking for an item of Light:GLS, not a level range of Light:GLS?
Name:[^:]*will[^:]*:.*:Light:GLS:.*
Also, is there any way to put in a filter for mobs with # at the front of their name other than using the search bar?
In summary, what are all the comoponents i can use to build a detailed and specific filter, including name, race, level limit and item held, plus anything else possible. And can we have this info put up into the docs section for everyone to access so no more questions about it from noobs like me :-)
Ant thanks to Blue Adept for the Zone specific filter files, a big time saver there.