Jump to content

zMud/cMud Regex Roller Trigger


Lexi

Recommended Posts

I just recently started with regex so I only know the very basic stuff. Anyway, I've been told regex triggers are a lot faster than normal triggers so I decided to make a zMud/cMud roller trigger:

Pattern: ^\[(\d{1,2})\] Cmds: help, end, roll, add, rem>

Value: #IF (%1 < 54) {roll}

This should (currently testing it, looking good so far :P ) make the trigger stop at 54 or higher, just change the number to whatever you are looking for. Don't forget to disable the trigger after getting what you want, or add a line to disable it once you hit that number.

IMPORTANT:

Don't forget to check the 'Perl regular expression' box. I guess this trigger works for any client that can use PERL.

EDIT:

The trigger works as intended.

Link to comment
Share on other sites

  • 3 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...