Results 1 to 7 of 7

Thread: Is this the right syntax?

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    87

    Is this the right syntax?

    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

  2. #2
    Registered User Latigid's Avatar
    Join Date
    May 2002
    Posts
    17
    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.

  3. #3
    Registered User Mr. Suspicious's Avatar
    Join Date
    May 2002
    Posts
    667
    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.
    Before asking anything read the pre-face section of http://www.smoothwall.org/download/p....9/doc.faq.pdf

    after you've read it, you know what to do next...




    "Stay alert! Trust noone! Keep your Lazers Handy! Have a nice day." -- Provided courtesy of the Computer. The Computer never lies.

  4. #4
    Registered User Latigid's Avatar
    Join Date
    May 2002
    Posts
    17
    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

  5. #5
    Registered User Mr. Suspicious's Avatar
    Join Date
    May 2002
    Posts
    667
    As far as I understand (You're right, the documentation is.... vague)

    it's:

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

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

    Code:
    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

    Code:
    Name:[mM]ob
    For all mobs that have the name "Mob" or "mob"
    So for instance, I have all my filters setup like this:
    Code:
    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 =)
    Last edited by Mr. Suspicious; 05-27-2002 at 08:26 PM.
    Before asking anything read the pre-face section of http://www.smoothwall.org/download/p....9/doc.faq.pdf

    after you've read it, you know what to do next...




    "Stay alert! Trust noone! Keep your Lazers Handy! Have a nice day." -- Provided courtesy of the Computer. The Computer never lies.

  6. #6
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    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.

  7. #7
    Registered User Mr. Suspicious's Avatar
    Join Date
    May 2002
    Posts
    667
    As I said filters.conf.dist is... vague.

    Edit: Deleted all the crap

    - http://seq.sourceforge.net/showthrea...ht=POSIX+style
    - http://seq.sourceforge.net/showthrea...ters.conf.dist
    Last edited by Mr. Suspicious; 05-28-2002 at 01:19 AM.
    Before asking anything read the pre-face section of http://www.smoothwall.org/download/p....9/doc.faq.pdf

    after you've read it, you know what to do next...




    "Stay alert! Trust noone! Keep your Lazers Handy! Have a nice day." -- Provided courtesy of the Computer. The Computer never lies.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is On
vB code is On
Smilies are On
[IMG] code is On