This simple alias is intended for the quick creation of otherwise tedious regexes used primarily in badword filter snippets. What this alias does is take a simple English word and generate a regex that will match that word as well as ANY "l33t"-ified version of it. This is intended to counteract attempts by users to bypass badword filters. So if you want to censor the word "foobar", using this snippet..
Alright, well here it is. Something I've been wanting to do for quite some time but never had the energy or motivation to get through. This is the beginning of hopefully my full script for online mIRC poker (not for real money, of course). Supply this alias with a "board" and an infinite number of "hole" hands, and it will tell you which hand wins and with what. It will also tell you if there is..
A simple and straightforward snippet that will scan for IRCops and echo the nickname and address of any that it finds to the active window. The scanning will be automatically performed when you join a channel and on anyone who subsequently joins a channel you are on, as well as whenever you receive a new private message. It may also be performed with the /scan TARGET command, where TARGET is a nickname..
This snippet does what $duration should do and converts a string like 2w4d10h3m2s into seconds. Usage is $lduration(string) where string should be formatted as above. Accepted time measures are the same as for $duration and include w, d, h, m, and s. Poorly formatted strings, such as 5m2h4m, are okay (the previous example would be evaluated the same as 2h9m).
I made this snippet for someone else here and decided it was good enough to add as a snippet. The syntax is /getalert CHANNEL|ECHO. Specifying a channel will cause it to send the alert level to that channel, specifying echo will cause it to echo the alert level to the active window.--EDIT--Updated per Xdaemon's request. Must have been a brain fluke that I had that in there in the first place.
Couple of aliases dealing with cards. These were made for blackjack.The first is $addcards(value1,...,valueN) which adds the values of the cards, evaluating any letter other than an A to be a facecard (worth 10) and gives you the best possible hand value.The second is $cardn(NumSuit) which, I don't know if anyone would consider useful, but takes input such as "2Hearts" or "JSpades" and converts it..
This is a basic auth system with lots of aliases to make implementation easy. It is very flexible and has all of the core functions done for you; it is designed to be a scripter's resource for when they need a log in/log out system.It stores account info in a hash table called Accounts and keeps track of logins trough a separate hash table called Logins. Includes a bunch of popups to for the auth..
This snippet is designed to take the pain out of looking for the targets of certain modes, etc. It was set up and tested on UnrealIRCd but should work for most servers.This is kinda hard to explain, but here we go: what this alias does is take a mode string from the modechars on (so it would start with a + or - and then contain the rest of the mode string) and spits out a tokenized list of all the..
This is a regex version of the $findfile identifier.Note that this identifier will take a good while to evaluate if there are lots of files in the folder, since it has to check EVERY file to see if it is a regex match. Works exactly the same as the normal $findfile, except that if you are specifying a command to perform on every match the $n identifiers will evaluate to the parameters you supplied..
This is a basic quadratic calculator that will give you the roots of a quadratic equation. The output is given in both Radical format and Approximate format (which will actually be exact if the solution is rational, and which will be replaced by NONREAL if it involes non-real numbers), or a nullset if there are no roots./quadcalc will open the dialog.I appologize for the ugliness of the dialog; I..
I got a bit bored so I decided to create an mIRC clock, which is displayed in the bottom right corner, just above the edit bar and just to the left of the scroll bar. It can display the time in either AM/PM format or "Military" time, changeable via radio buttons. By default it will open automatically when mIRC starts, but if you close it within 60 seconds of starting mIRC it will prompt you if you..
This is my most basic alias I've ever posted here, just returns the x-root of a number.I know you can do it with $calc, but doing that is a little complicated and for some of us math idiots confusing, so this is just to make life a little easier.Syntax is $root(number,root)Example: $root(125,3) --- returns 5, because 53=125
Syntax: $char(text,N)Syntax: /char text Nsimply returns Nth character in text, counting from the left. There might be a builtin identifier for this but I looked and looked and couldn't find one so I made my own. It's got a bit of poor coding in that the local variable %f is pretty unclean, but its functional.
This is a customizable dice rolling script ideal for RPing and use in "Pen-and-Paper" type RPGs, such as D&D and stuff. The syntax is a bit complicated:/advdice {Number}!{Sides}[+|-][Modifier] [c|r|a]{Number} is the number of dice to roll, {Sides} is the number of sides per dice, [Modifier] is the number to be added or subtracted to the outcome of each roll, [+|-] specifies whether [Modifier]..
Uses two separate keys that work two different ways to transform the easily crackable $encode identifier into a medium-security encryption method. To use the encryption, just copy and paste the script into your remotes and type "/encrypt on [key] [MIME count]". The key and the MIME count should both be whole numbers greater than 1, and MIME count should be less than key. Anyone who you want to communicate..
This is a bulky but relatively simple script that uses hash tables to allow your users to register with you and then create a simple profile that includes their name, age, sex, and a place to put "personal information" or whatever you want to change that to. It has numerous things to insure that the data types for each field are correct (you can only enter numbers as your age, etc) You will need to..