You can remove all that conditional logic by using string.format. The format specifier %02d says "take a number, and format it to a width of at least 2 characters, filling with 0s" local no… (View Post)
For all of the many times you want to run a command (or set of commands) repeatedly: ^loop (\d+) (.*)$ local t={} ; i=1 for str in string.gmatch(matches[3], "([^"..";"..&q… (View Post)
Saved up goop for a hand of the demigod and finally had something to do with the hundred million essence I was sitting on. Now to regain it and do it again. (View Post)
I got tired of typing "realdog" (and various other scrambled versions) so I just made my alias match anything that starts with an r, ends with a g, and has all the letters of readlog. \A(?=… (View Post)