Search found 114 matches
I've included comments explaining the function. For this to work you need to place this dll in your Mudlet folder: rex_pcre.zip It's a win32 binary, if you're using Linux or OSX you may need to compile lrexlib (http://luaforge.net/projects/lrexlib/). Lrexlib adds regex support within lua. rex = requ...
- Thu Dec 03, 2009 10:59 pm
- Forum: Scripts & Packages
- Topic: Mathematical Operations & Comparison on matches table
- Replies: 4
- Views: 1998
This script will allow you to perform mathematical operations and comparison on the matches table without having to add tonumber() into all your triggers and aliases. +, -, /, *, %, ^ and unary - will fail if you use them with a value that can't be converted to a number. Comparisons will work as exp...