Comments
Join Hawkee
|
Login
Search
in
Code Snippets
Images
Products
Reviews
Forum
Home
Platforms
Cold Fusion
CSS
Javascript
mIRC
mySQL
.NET
OpenSocial
Perl
PHP
Python
Ruby / Rails
TCL
Images
Snippets
Cold Fusion (1)
CSS (2)
Javascript (7)
mIRC (3,747)
mySQL (1)
.NET (6)
OpenSocial (1)
Perl (8)
PHP (132)
Python (1)
Ruby / Rails (6)
TCL (20)
Products
Computers (10,366)
Electronics (7,345)
Software (1,038)
Video Games (3,505)
Reviews
Computers (5,817)
Electronics (15,567)
Software (2,246)
Video Games (6,932)
Comments
Images
Scripts
Code Snippets
Products
Reviews
Profiles
Forum
username
password
auto login
Home
>
Code Snippets
>
Mpdreamz's Snippets
>
mIRC
$mtsprecompile
Please
Register
to submit score.
Average Score
8.0
Scores Submitted
1
Date Added
Jun 23, 2006
Last Updated
Jun 23, 2006
Tags
engine
load
mts
theme
Introduction
precompiles the MTS theme input into its mIRC parseable equivalent.
Grab the Code
alias mtsprecompile { var %v = me|server|echo|address|fromserver|c1|c2|c3|c4|newnick|serverinfo|away|iaddress|nick|signontime| $+ $& idletime|numeric|target|isoper|operline|text|isregd|port|users|kaddress|parentext|value| $+ $& chan|knick|pre|wserver|cmode|raddress|cnick|modes|realname|ctcp|naddress, %eval = $iif($2,2,1) !noop $regsub($1-,/<( $+ %v $+ )>/g,$+(%,::,\1),%x)) !noop $regsub(%x,/(\S)%/g,$+(\1,$chr(32),$!+,$chr(32),%),%x)) !noop $regsub(%x,/(%::(?: $+ %v $+ ))(\S)/g,$+(\1,$chr(32),$!+,$chr(32),\2),%x)) !noop $regsub(%x,/(\S)\133/g,$+(\1,$chr(32),$!+,$chr(32),$!chr(91),$chr(32),$!+,$chr(32)),%x) !noop $regsub(%x,/(\S)\135/g,$+(\1,$chr(32),$!+,$chr(32),$!chr(93),$chr(32),$!+,$chr(32)),%x) !noop $regsub(%x,/\133(\S)/g,$+($chr(32),$!+,$chr(32),$!chr(91),$chr(32),$!+,$chr(32),\1),%x) !noop $regsub(%x,/\135(\S)/g,$+($chr(32),$!+,$chr(32),$!chr(93),$chr(32),$!+,$chr(32),\1),%x) return $($replace(%x,$(%::echo,),$(%:echo,),[,$!chr(91),],$!chr(93)),%eval) }
Comments
(0)
RSS
Go to Bottom
Enter comment here..
Please
Register
or
Login
to start posting comments.
Mpdreamz
Royal Kingdom Of The Netherlands
Last seen:
Jul 21, 2008
Profile
Friends
(8)
Snippets
(8)
Comments Received
(41)
Comments Submitted
(29)
Forum Posts
(138)
My Snippet Tags
asynchronous
birthday
clock
com
date
duration
engine
geometry
load
messenger
months
msn
mts
picwin
sockets
strip
theme
token
weeks
wildmatch
years
Contact
Add to Friends
Send Private Message
Friends (8)
Lindrian
F*U*R*B*Y*
View All
Sponsors