PDA

View Full Version : Is this the right syntax?



ThanosOfTitan
04-29-2002, 09:11 AM
I want to limit this alert to just level 50-70 versions of this mob, does this syntax work? Or is it just :level range?

Name:Narandi the Wretched:;50-70

Latigid
05-27-2002, 07:27 AM
If you'll look at /root/showeq/conf/filters.conf.dist, there's some good guidance and examples there. Only three pages printed out and handy to have.

BTW, I think the "the" needs to follow the name separated by a comma:

Name:Narandi Wretched, the:;50-70

Hope this helps.

Mr. Suspicious
05-27-2002, 08:04 AM
Name:.*[nN]arandi;50-70

Will do nicely aswell, there's 0 other mobs in game that have the word "narandi" as part of their name.

Latigid
05-27-2002, 12:27 PM
My question now is can someone point me to something that explains the syntax a little better than the filters file?

The "*" is a wild card I assume and the "[nN]" means either uppper or lower case of the letter.

Many thanks

Mr. Suspicious
05-27-2002, 08:23 PM
As far as I understand (You're right, the documentation is.... vague)

it's:



Name:.^Mob
For mobs that START with "Mob"


and



Name:.$Mob
For mobs that END with "Mob"


and



Name:.*Mob
For mobs that CONTAIN the word "Mob", I use this one all the
time to not have to worry about "#", "a", "an" or "the" in front of
the name


and



Name:[mM]ob
For all mobs that have the name "Mob" or "mob"


So for instance, I have all my filters setup like this:


Name:.*[lL]ord [kK]oi[`'][dD]oken


Catches all variations of the name: Lord Koi`doken;
- #Lord Koi`doken
- Lord Koi`doken
- #lord Koi`doken
- lord Koi`doken
- the honorable Lord Koi'Doken
etc etc

I don't use other features of the filters regularly, so please anyone with knowledge of the levels etc, feel free to add =)

Cryonic
05-27-2002, 09:39 PM
umm, $ means end of line, so $mob will never match anything as it is kinda hard for the line to end and then also contain mob. What you want is:

Name:.*mob$

But that won't work since the filter line doesn't have the mob name at the end of it. The format is, amazingly enough, documented in filters.conf.dist.

Mr. Suspicious
05-28-2002, 01:07 AM
As I said filters.conf.dist is... vague.

Edit: Deleted all the crap

- http://seq.sourceforge.net/showthread.php?s=&threadid=165&highlight=POSIX+style
- http://seq.sourceforge.net/showthread.php?s=&threadid=102&highlight=filters.conf.dist