Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: ;loot exclude regex

  1. Default

    I'm pretty sure if you do this you override the previous value so your list should would just have glaes club.
    That's my understanding as well.

  2. Default

    This is apparently a bug when changing settings while the script is still running. Fixed and uploaded.
    Get Lich - Vote for Gemstone (topmudsites.com)

  3. #13

    Default

    Quote Originally Posted by Tgo01 View Post
    I'm pretty sure if you do this you override the previous value so your list should would just have glaes club.
    Hmm...looks like you're right. I tried using his format:

    ;loot exclude=short sword|jeddart-axe

    And have this:

    exclude: short sword|jeddart-axe

    ;loot exclude=black ora|glaes club

    And have this:

    exclude: black ora|glaes club
    A Vvrael witch shudders, her form suddenly contracting convulsively.
    The ground beneath your feet suddenly frosts and rumbles violently!
    [SMR result: 93 (Open d100: -32, Bonus: 61)]
    You dodge out of the way!
    !SPR>sta
    ...wait 4 seconds.
    !SPR>
    Icy stalagmites burst from the ground beneath you!
    [SMR result: 213 (Open d100: 88, Bonus: 61)]
    ... 55 points of damage!
    Incredible strike pierces your heart and runs you clean through!

    It seems you have died, my friend.

  4. Default

    Quote Originally Posted by Tillmen View Post
    This is apparently a bug when changing settings while the script is still running. Fixed and uploaded.
    Awesome! Thank you, Tillmen. I saw another post of yours about loot in which you used the regex "black ora|^urglaes fang$". Why are those beginning and end match ^$ characters sometimes necessary? Wouldn't the regex "urglaes fang" match just fine all the time?

  5. Default

    Quote Originally Posted by oneillseanm View Post
    Awesome! Thank you, Tillmen. I saw another post of yours about loot in which you used the regex "black ora|^urglaes fang$". Why are those beginning and end match ^$ characters sometimes necessary? Wouldn't the regex "urglaes fang" match just fine all the time?
    They're not really necessary most of the time. They just make the regex more efficient.
    Last edited by Tillmen; 07-22-2013 at 03:15 PM.
    Get Lich - Vote for Gemstone (topmudsites.com)

  6. Default

    Quote Originally Posted by Tillmen View Post
    They're not really necessary most of the time. They just make the regex more efficient.
    Cool. That's what I was starting to think. I'm just learning about regexes for the first tiem today.

Similar Threads

  1. Collectibles exclusion Regex
    By horibu in forum The Lich Project
    Replies: 1
    Last Post: 07-12-2018, 05:59 PM
  2. The 402 regex
    By m444w in forum The Lich Project
    Replies: 2
    Last Post: 01-17-2017, 07:04 AM
  3. RegEx fail
    By Tgo01 in forum The Lich Project
    Replies: 6
    Last Post: 01-11-2015, 08:08 PM
  4. matching link regex for squelching
    By Kaldonis in forum The Lich Project
    Replies: 3
    Last Post: 02-12-2014, 02:25 AM
  5. Because I was bored: a regex mana check
    By Gnomad in forum Scripting Discussion
    Replies: 5
    Last Post: 11-27-2008, 11:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •