Code Snippets by knoeki
(34)
Just a simple tool to aid development. makes it easy to flip through an iconfile, and get it's index number.
Press the + and - buttons to, respectively, go to the next or previous icon.
The field..
Just a simple hilightcatcher I wrote for some people on #zomgwtfbbq ;_) might be useful to more people, I guess.
Usage:
/hilights on - enables hilightcatching, will send a copy of every message..
alright, a lot of stuff has been added.
first of all, I added a configuration dialog. try typing /opchart conf (or config, options, or similar things ;_)). Here you have 2 tabs, one to change the..
Simple socket script. Takes a username, returns last track played by him/her, providing they scrobble their music ;_)
usage:
!last.fm lastplayed <username> [N]
(where N is amount of recent..
So.. I've wanted to write something like this for a while already, and I finally got the time to create it :_)
Usage should be simple enough, but I'll explain how it works anyways :_)
at the..
While working on my soon to be released snippet, I saw the need to be able to reference topics and/or items by wildmatch... so without further ado, I present you $wini! :_)
It's kind of like $ini, although..
Just a simple identifier, once again, but someone other than me should find it useful.
Usage:
$temconv(N, [c])
Takes a temperature and converts it. Assumes input is farenheit and converts to celcius,..
Pretty much the same as the last one, except this looks a bit more trippy...
standard res is lower on this one, due to /drawrot being quite intensive.
(uncomment line 10 if you have whilefix.d..
Again a picwin... this time a nice and simple starfield :_)
not much to explain here, but if you have questions, feel free to ask.
(uncomment line 10 if you have whilefix.dll)
Simple script that will version everyone in a channel to see which client is the most popular. Can also save the results to a file, if wanted.
just type /versionscan in the channel you want to scan.....
to exit
You can also right-click for a random colour. your current colour will always show up at the top of the screen.
I'll stress this once more: it's REALLY REALLY REALLY simple and FAR from..
Seeing as I have no life at all, I decided to make this upon seeing another version posted here yesterday... this is my take on it.
masswave will wave at everyone in a single line. May there be enough..
Knoeki strikes back with another lame piece of code...
width/height are optional, using anything higher than default does not guarantee a smooth experience.
(uncomment line 5 if you have whilefix.dll,..
Just a simple little thinggy to show...:
amount of networks you are on,
amount of channels you are on,
total usermodes (~&!@%+) if any,
amount of users you have control over.
can probably..
y-floodfill picture fader. nothing special, just the result of playing with picture windows for a bit.
usage: type /yfloodfill and browse for an image. (you can also specify an image directly on the..
1.0b - Initial release
1.0.1 - small bugfix; directory changing to a different disk with a label works properly now.
Simple alias/event combo. Outputs the character, keycode and repetitions if applyable.
usage:
type /getkeys and mash the keyboard.
An alias and identifier in one, BONUS! ;_)
usage is simple. when you simply want to message some nice coloured text to a channel...:
/rb this is my fancy coloured message.
as an identifier:
$rb(-i,..
Just a really really tiny calculator. Usage should (again) be obvious.
Just made as a joke, for fun. ;_)
Just a simple scriptmanager. Doesn't do much, but does it well.
Should be quite obvious how it works. ;_)
also, my first released dialog, after playing with it the past few days... more..
Similar to my last identifier, I now present you $chrpad().
$chrpad(txt, len, chr, s)
txt is the text you want to apply padding to.
len is the MAXIMUM length of the full string, including..
Once again, I\'m back with another custom identifier.
I wrote this just because I happened to need this a few times.
It doesn\'t do much, but what it does do, it does right. (confused yet? :_))...
Scan channels and show the amount of each found TLs (Top Level Domain).
Works cross-channel, and has pretty decent error checking.
Also included is a TLD lookup trigger, to find out what a TLD means.
.
Constructive..
Very simple little script. checks and shows the channel your total, used, and free diskspace.
Someone might like it.
UPDATE:
Added a little bonus oneliner, just copy/paste it into your inputbox..
Simple identifier, but very effective, as far as I've used it.
This is useful on networks where there are extra modes that mIRC generally doesn't let you check for, such as Owner/CO-Owner (+qo, ~),..