<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Brian&#039;s Blog &#187; mIRC</title>
	<atom:link href="http://briped.net/tag/mirc/feed/" rel="self" type="application/rss+xml" />
	<link>http://briped.net</link>
	<description>Blogging when bored...</description>
	<lastBuildDate>Sun, 08 Jan 2012 17:50:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>mirc.php for GeSHi</title>
		<link>http://briped.net/2007/12/12/mircphp-for-geshi/</link>
		<comments>http://briped.net/2007/12/12/mircphp-for-geshi/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 21:32:10 +0000</pubDate>
		<dc:creator>Brian Schmidt Pedersen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[mIRC]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[GeSHi]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://briped.net/2007/12/12/mircphp-for-geshi/</guid>
		<description><![CDATA[Seems there were a minor issue with the mirc.php file from GeSHi causing all code entries set to be parsed as mIRC scripts to stop with an error. Fixed (or rather made a dirty hack) it so my mIRC scripts once again could be highlighted &#60;?php /************************************************************************************* * mirc.php * ----- * Author: Alberto 'Birckin' [...]]]></description>
			<content:encoded><![CDATA[<p>Seems there were a minor issue with the mirc.php file from GeSHi causing all code entries set to be parsed as mIRC scripts to stop with an error. Fixed (or rather made a dirty hack) it so my mIRC scripts once again could be highlighted <img src='http://briped.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #666666; font-style: italic;">/*************************************************************************************<br />
* mirc.php<br />
* -----<br />
* Author: Alberto 'Birckin' de Areba (Birckin@hotmail.com)<br />
* Copyright: (c) 2006 Alberto de Areba<br />
* Release Version: 1.0.7.20<br />
* Date Started: 2006/05/29<br />
*<br />
* mIRC Scripting language file for GeSHi.<br />
*<br />
* CHANGES<br />
* -------<br />
* 2006/05/29 (1.0.0)<br />
* &nbsp; - &nbsp;First Release<br />
*<br />
* 2007/12/12 (1.0.1) - Brian Schmidt Pedersen<br />
* &nbsp; - &nbsp;Removed the forward slash from all mIRC keywords, since in actual<br />
* &nbsp; &nbsp; &nbsp; mIRC scripts, they're often written without the slash.<br />
* &nbsp; - &nbsp;Entry 6 (timer parsing) under REGEXPS caused GeSHi to halt with an error<br />
* &nbsp; &nbsp; &nbsp; simple solution was to remove the slash(es)<br />
*<br />
*************************************************************************************<br />
*<br />
* &nbsp; &nbsp; This file is part of GeSHi.<br />
*<br />
* &nbsp; GeSHi is free software; you can redistribute it and/or modify<br />
* &nbsp; it under the terms of the GNU General Public License as published by<br />
* &nbsp; the Free Software Foundation; either version 2 of the License, or<br />
* &nbsp; (at your option) any later version.<br />
*<br />
* &nbsp; GeSHi is distributed in the hope that it will be useful,<br />
* &nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
* &nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &nbsp;See the<br />
* &nbsp; GNU General Public License for more details.<br />
*<br />
* &nbsp; You should have received a copy of the GNU General Public License<br />
* &nbsp; along with GeSHi; if not, write to the Free Software<br />
* &nbsp; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA &nbsp;02111-1307 &nbsp;USA<br />
*<br />
************************************************************************************/</span><br />
<br />
<span style="color: #000088;">$language_data</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a> <span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'LANG_NAME'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'mIRC Scripting'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'COMMENT_SINGLE'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">';'</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'COMMENT_MULTI'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'CASE_KEYWORDS'</span> <span style="color: #339933;">=&gt;</span> GESHI_CAPS_NO_CHANGE<span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'QUOTEMARKS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'ESCAPE_CHAR'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'KEYWORDS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'alias'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'menu'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'dialog'</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">2</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'if'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'elseif'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'else'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'while'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'return'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'goto'</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">3</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'action'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ajinvite'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'alias'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'aline'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'amsg'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ame'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'anick'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'aop'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'auser'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'avoice'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'auto'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'autojoin'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'away'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'background'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'ban'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'beep'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'channel'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'clear'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'clearall'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'clipboard'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'close'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'closemsg'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'color'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'copy'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'creq'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ctcp'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ctcpreply'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'ctcps'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'dcc'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'dde'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ddeserver'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'debug'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'describe'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'disable'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'disconnect'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'dlevel'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'dll'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'dns'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'dqwindow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ebeeps'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'echo'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'editbox'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'emailaddr'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'enable'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'events'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'exit'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'filter'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'findtext'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'finger'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'flash'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'flood'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'flush'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'flushini'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'font'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'fsend'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'fserve'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'fullname'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ghide'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'gload'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'gmove'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'gopts'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'gplay'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'gpoint'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'gqreq'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'groups'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'gshow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'gsize'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'gstop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'gtalk'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'gunload'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'guser'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'halt'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'haltdef'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'help'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'hop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ignore'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'inc'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'invite'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'join'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'kick'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'linesep'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'links'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'list'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'load'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'loadbuf'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'localinfo'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'log'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'me'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'mdi'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'mkdir'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'mnick'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'mode'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'msg'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'names'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nick'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'noop'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'notice'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'notify'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'omsg'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'onotice'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'part'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'partall'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'pdcc'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'perform'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ping'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'play'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'pop'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'protect'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'pvoice'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'qmsg'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'qme'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'query'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'queryrn'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'quit'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'raw'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'remini'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'remote'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'remove'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rename'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'renwin'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'resetidle'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rlevel'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rmdir'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'run'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ruser'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'save'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'savebuf'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'save'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'saveini'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'say'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'server'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'set'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'showmirc'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'sline'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'sound'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'speak'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'splay'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'sreq'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'strip'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'time'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'timers'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'timestamp'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'titlebar'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'tnick'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'tokenize'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'topic'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'ulist'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'unload'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'updatenl'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'url'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'uwho'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'var'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'window'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'winhelp'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'write'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'writeini'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'who'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'whois'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'whowas'</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'SYMBOLS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'('</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">')'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'{'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'}'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'['</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">']'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'|'</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'CASE_SENSITIVE'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; GESHI_COMMENTS <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">2</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">false</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'STYLES'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'KEYWORDS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #994444;'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">2</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #000000; font-weight: bold;'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">3</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #990000; font-weight: bold;'</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'COMMENTS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #808080; font-style: italic;'</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'ESCAPE_CHAR'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'BRACKETS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">0</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #FF0000;'</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'STRINGS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'NUMBERS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">0</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'METHODS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'SYMBOLS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">0</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #FF0000;'</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'REGEXPS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">0</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #000099;'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #990000;'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">2</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #888800;'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">3</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #888800;'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">4</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #000099;'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">5</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #000099;'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">6</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'color: #990000; font-weight: bold;'</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'SCRIPT'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'URLS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">2</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">3</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">4</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">''</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'OOLANG'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'OBJECT_SPLITTERS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'REGEXPS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">0</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'\$[^$][^ ,\(\)]*'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">1</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'(%|&amp;).+?[^ ,\)]*'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">2</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'(#|@).+?[^ ,\)]*'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">3</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'-[a-z\d]+'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">4</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'(on|ctcp) (!|@|&amp;)?(\d|\*):[a-zA-Z]+:'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">/*<br />
&nbsp; &nbsp; &nbsp; &nbsp; 4 =&gt; array(<br />
&nbsp; &nbsp; &nbsp; &nbsp; GESHI_SEARCH =&gt; '((on|ctcp) (!|@|&amp;)?(\d|\*):(Action|Active|Agent|AppActive|Ban|Chat|Close|Connect|Ctcp|CtcpReply|DccServer|DeHelp|DeOp|DeVoice|Dialog|Dns|Error|Exit|FileRcvd|FileSent|GetFail|Help|Hotlink|Input|Invite|Join|KeyDown|KeyUp|Kick|Load|Logon|MidiEnd|Mode|Mp3End|Nick|NoSound|Notice|Notify|Op|Open|Part|Ping|Pong|PlayEnd|Quit|Raw|RawMode|SendFail|Serv|ServerMode|ServerOp|Signal|Snotice|Start|Text|Topic|UnBan|Unload|Unotify|User|Mode|Voice|Wallops|WaveEnd):)',<br />
&nbsp; &nbsp; &nbsp; &nbsp; GESHI_REPLACE =&gt; '\\1',<br />
&nbsp; &nbsp; &nbsp; &nbsp; GESHI_MODIFIERS =&gt; 'i',<br />
&nbsp; &nbsp; &nbsp; &nbsp; GESHI_BEFORE =&gt; '',<br />
&nbsp; &nbsp; &nbsp; &nbsp; GESHI_AFTER =&gt; ''<br />
&nbsp; &nbsp; &nbsp; &nbsp; ),<br />
&nbsp; &nbsp; &nbsp; &nbsp; */</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">5</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'raw (\d|\*):'</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #cc66cc;">6</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'timer(?!s\b)[0-9a-zA-Z_]+'</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'STRICT_MODE_APPLIES'</span> <span style="color: #339933;">=&gt;</span> GESHI_NEVER<span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'SCRIPT_DELIMITERS'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; <span style="color: #0000ff;">'HIGHLIGHT_STRICT_BLOCK'</span> <span style="color: #339933;">=&gt;</span> <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://briped.net/2007/12/12/mircphp-for-geshi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>antispam.mrc &#8211; Block spammers</title>
		<link>http://briped.net/2007/06/20/antispammrc-block-spammers/</link>
		<comments>http://briped.net/2007/06/20/antispammrc-block-spammers/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 09:19:22 +0000</pubDate>
		<dc:creator>Brian Schmidt Pedersen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[mIRC]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://briped.net/2007/06/20/antispammrc-block-spammers/</guid>
		<description><![CDATA[;;;; Anti Spam v1.0.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Written by: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;;; ;; &#160; Brian Schmidt aka. brianMan aka. b&#124;man. &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container mirc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="mirc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">;;;; Anti Spam v1.0.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Written by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; Brian Schmidt aka. brianMan aka. b|man. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Readme / Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Load this script in mIRC, if you don't know how to do this, then perhaps &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; you shouldn't be using this script. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Very simple spamblocking script, blocks private message if they contain a &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; word (usually urls) that are stored in it's dbfile. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Right click in a query window, or click the custom menu in the menubar to &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; configure it/enable it. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Changelog ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Initial release. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;; Make sure the variable, with the file containing the list of blocked strings</span><br />
<span style="color: #808080; font-style: italic;">;; are set at script start.</span><br />
<span style="color: #000099;">on *:START:</span><span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; set <span style="color: #990000;">%_antispam_dbfile</span> spamdb.<span style="color: #008000;">txt</span><br />
&nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tc</span> info *** Anti-Spam by Brian Schmidt loaded..<br />
<span style="color: #FF0000;">&#125;</span><br />
<br />
<span style="color: #994444;">alias</span> antispam <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == add || <span style="color: #000099;">$1</span> == a<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span>!<span style="color: #000099;">$read</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%_antispam_dbfile</span>,w,$<span style="color: #000099;">$2</span><span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/write"><span style="color: #990000; font-weight: bold;">write</span></a> <span style="color: #990000;">%_antispam_dbfile</span> <span style="color: #000099;">$encode</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$2</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tac</span> info *** Adding $<span style="color: #000099;">$2</span> to <span style="color: #990000;">%_antispam_dbfile</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tac</span> info *** $<span style="color: #000099;">$2</span> allready in <span style="color: #990000;">%_antispam_dbfile</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == <a href="http://www.mirc.com/remove"><span style="color: #990000; font-weight: bold;">remove</span></a> || <span style="color: #000099;">$1</span> == rem || <span style="color: #000099;">$1</span> == r || <span style="color: #000099;">$1</span> == delete || <span style="color: #000099;">$1</span> == del || <span style="color: #000099;">$1</span> == d<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$read</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%_antispam_dbfile</span>,w,<span style="color: #000099;">$encode</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$2</span><span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/write"><span style="color: #990000; font-weight: bold;">write</span></a> <span style="color: #888800;">-dw</span> <span style="color: #000099;">$encode</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$2</span><span style="color: #FF0000;">&#41;</span> <span style="color: #990000;">%_antispam_dbfile</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tac</span> info *** Removed $<span style="color: #000099;">$2</span> from <span style="color: #990000;">%_antispam_dbfile</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tac</span> info *** $<span style="color: #000099;">$2</span> not in <span style="color: #990000;">%_antispam_dbfile</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == check || <span style="color: #000099;">$1</span> == c<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%_antispam_status</span> != <span style="color: #000099;">$null</span> &amp;&amp; <span style="color: #990000;">%_antispam_status</span> != 0 &amp;&amp; <span style="color: #990000;">%_antispam_status</span> != off<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%i</span> 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%i</span> &lt;= <span style="color: #000099;">$numtok</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$2</span>-,32<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$read</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%_antispam_dbfile</span>,w,<span style="color: #000099;">$encode</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$gettok</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$2</span>-,<span style="color: #990000;">%i</span>,32<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$line</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$nick</span>,0<span style="color: #FF0000;">&#41;</span> == 0<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/window"><span style="color: #990000; font-weight: bold;">window</span></a> <span style="color: #888800;">-c</span> <span style="color: #000099;">$window</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$nick</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; halt<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inc <span style="color: #990000;">%i</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == status<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$2</span> == 1 || <span style="color: #000099;">$2</span> == on<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set <span style="color: #990000;">%_antispam_status</span> 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tac</span> info *** Anti-Spam enabled.<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$2</span> == 0 || <span style="color: #000099;">$2</span> == off<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set <span style="color: #990000;">%_antispam_status</span> 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tac</span> info *** Anti-Spam disabled.<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == <a href="http://www.mirc.com/list"><span style="color: #990000; font-weight: bold;">list</span></a> || <span style="color: #000099;">$1</span> == l<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/window"><span style="color: #990000; font-weight: bold;">window</span></a> <span style="color: #888800;">-d</span>Clk0 <span style="color: #888800;">@Anti</span>-Spam<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%c</span> = <span style="color: #000099;">$lines</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%_antispam_dbfile</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%c</span> &gt; 0<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%i</span> = 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%i</span> &lt;= <span style="color: #990000;">%c</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; aline <span style="color: #888800;">-p</span> <span style="color: #888800;">@Anti</span>-Spam <span style="color: #000099;">$decode</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$read</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%_antispam_dbfile</span>,t,<span style="color: #990000;">%i</span><span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inc <span style="color: #990000;">%i</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
<span style="color: #FF0000;">&#125;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;; The popup menus.</span><br />
<span style="color: #994444;">menu</span> <a href="http://www.mirc.com/query"><span style="color: #990000; font-weight: bold;">query</span></a>,menubar <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; -<br />
&nbsp; &nbsp; Anti-Spam<br />
&nbsp; &nbsp; .<span style="color: #000099;">$iif</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%_antispam_status</span> == 0 || <span style="color: #990000;">%_antispam_status</span> == <span style="color: #000099;">$null</span>,<a href="http://www.mirc.com/enable"><span style="color: #990000; font-weight: bold;">Enable</span></a><span style="color: #FF0000;">&#41;</span>:antispam status on<br />
&nbsp; &nbsp; .<span style="color: #000099;">$iif</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%_antispam_status</span> == 1,<a href="http://www.mirc.com/disable"><span style="color: #990000; font-weight: bold;">Disable</span></a><span style="color: #FF0000;">&#41;</span>:antispam status off<br />
&nbsp; &nbsp; .<span style="color: #008000;">Configure</span>:antispam <a href="http://www.mirc.com/list"><span style="color: #990000; font-weight: bold;">list</span></a><br />
&nbsp; &nbsp; -<br />
<span style="color: #FF0000;">&#125;</span><br />
<span style="color: #994444;">menu</span> <span style="color: #888800;">@Anti</span>-Spam <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; dclick:<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$input</span><span style="color: #FF0000;">&#40;</span>Delete <span style="color: #000099;">$line</span><span style="color: #FF0000;">&#40;</span><span style="color: #888800;">@Anti</span>-Spam,<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span>,y,Confirm delete<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span> antispam rem <span style="color: #000099;">$line</span><span style="color: #FF0000;">&#40;</span><span style="color: #888800;">@Anti</span>-Spam,<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span> | dline <span style="color: #888800;">@Anti</span>-Spam <span style="color: #000099;">$1</span> <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; Add..:<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%antispam_tmp_add</span> <span style="color: #000099;">$input</span><span style="color: #FF0000;">&#40;</span>Add spamline,e<span style="color: #FF0000;">&#41;</span> | antispam add <span style="color: #990000;">%antispam_tmp_add</span> | aline <span style="color: #888800;">@Anti</span>-Spam <span style="color: #990000;">%antispam_tmp_add</span><br />
<span style="color: #FF0000;">&#125;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;; Catch all (private) text and check it for spam.</span><br />
on ^&amp;*:TEXT:*:?:<span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; antispam check <span style="color: #000099;">$1</span>-<br />
<span style="color: #FF0000;">&#125;</span><br />
on ^&amp;*:<a href="http://www.mirc.com/action"><span style="color: #990000; font-weight: bold;">ACTION</span></a>:*:?:<span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; antispam check <span style="color: #000099;">$1</span>-<br />
<span style="color: #FF0000;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://briped.net/2007/06/20/antispammrc-block-spammers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>age.mrc &#8211; Calculate Your Age</title>
		<link>http://briped.net/2007/06/20/agemrc-calculate-your-age/</link>
		<comments>http://briped.net/2007/06/20/agemrc-calculate-your-age/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 09:18:17 +0000</pubDate>
		<dc:creator>Brian Schmidt Pedersen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[mIRC]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://briped.net/2007/06/20/agemrc-calculate-your-age/</guid>
		<description><![CDATA[;;;; My Age v1.1.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Written by: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;;; ;; &#160; Brian Schmidt aka. brianMan. &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container mirc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="mirc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">;;;; My Age v1.1.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Written by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; Brian Schmidt aka. brianMan. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Readme / Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Load this script in mIRC, if you don't know how to do this, then perhaps &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; you shouldn't be using this script. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Simple script to tell how old you are in seconds, or minutes etc. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Commands available: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; /myage &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Changelog ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.1.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Added possibility to only say your age in one format (hour/sec etc.). &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; * Changed the actual trigger alias from /age to /myage. The age alias is &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; only used as an identifier that returns the value to the calling script. ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Will now ask for your birthdate when run, if it isn't set. Then store it ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; in a variable for later use. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Initial release. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #994444;">alias</span> age <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%unix</span> = <span style="color: #000099;">$ctime</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$1</span>-<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%now</span> = <span style="color: #000099;">$ctime</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%seconds</span> = <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%now</span> - <span style="color: #990000;">%unix</span> <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%minutes</span> = <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%seconds</span> <span style="color: #FF0000;">/</span> 60 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%hours</span> = <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%minutes</span> <span style="color: #FF0000;">/</span> 60 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%days</span> = <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%hours</span> <span style="color: #FF0000;">/</span> 24 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%weeks</span> = <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%days</span> <span style="color: #FF0000;">/</span> 7 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%years</span> = <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%days</span> <span style="color: #FF0000;">/</span> 365.22222222222 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%months</span> = <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%years</span> * 12 <span style="color: #FF0000;">&#41;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == seconds<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%seconds</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == minutes<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%minutes</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == hours<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%hours</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == days<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%days</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == weeks<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%weeks</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == months<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%months</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == years<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%years</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%years</span><br />
<span style="color: #FF0000;">&#125;</span><br />
<br />
<span style="color: #994444;">alias</span> myage <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span> == <span style="color: #000099;">$null</span> || <span style="color: #000099;">$1</span> == set<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; set <span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span> $<span style="color: #000099;">$input</span><span style="color: #FF0000;">&#40;</span>What is your birth date? $+ <span style="color: #000099;">$crlf</span> $+ Example: $+ <span style="color: #000099;">$crlf</span> 13.12.1976 23:59:59,e,Birth date?<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == sec<span style="color: #FF0000;">&#41;</span> <a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> I am <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">seconds</span> seconds old.<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == min || <span style="color: #000099;">$1</span> == minute || <span style="color: #000099;">$1</span> == minutes<span style="color: #FF0000;">&#41;</span> <a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> I am <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">minutes</span> minutes old.<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == hrs || <span style="color: #000099;">$1</span> == hour || <span style="color: #000099;">$1</span> == hours<span style="color: #FF0000;">&#41;</span> <a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> I am <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">hours</span> hours old.<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == day || <span style="color: #000099;">$1</span> == days<span style="color: #FF0000;">&#41;</span> <a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> I am <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">days</span> days old.<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == wek || <span style="color: #000099;">$1</span> == week || <span style="color: #000099;">$1</span> == weeks<span style="color: #FF0000;">&#41;</span> <a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> I am <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">weeks</span> weeks old.<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == mth || <span style="color: #000099;">$1</span> == month || <span style="color: #000099;">$1</span> == months<span style="color: #FF0000;">&#41;</span> <a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> I am <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">months</span> months old.<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == yrs || <span style="color: #000099;">$1</span> == year || <span style="color: #000099;">$1</span> == years<span style="color: #FF0000;">&#41;</span> <a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> I am <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">years</span> years old.<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> My age in: Seconds: <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">seconds</span> $+ . <span style="color: #008000;">Minutes</span>: <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">minutes</span> $+ . <span style="color: #008000;">Hours</span>: <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">hours</span> $+ . <span style="color: #008000;">Days</span>: <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">days</span> $+ . <span style="color: #008000;">Weeks</span>: <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">weeks</span> $+ . <span style="color: #008000;">Months</span>: <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">months</span> $+ . <span style="color: #008000;">Years</span>: <span style="color: #000099;">$age</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%myage</span>.<span style="color: #008000;">birthday</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">years</span> $+ .<br />
<span style="color: #FF0000;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://briped.net/2007/06/20/agemrc-calculate-your-age/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>csize.mrc &#8211; Convert Size</title>
		<link>http://briped.net/2007/06/20/csizemrc-convert-size/</link>
		<comments>http://briped.net/2007/06/20/csizemrc-convert-size/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 09:17:13 +0000</pubDate>
		<dc:creator>Brian Schmidt Pedersen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[mIRC]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://briped.net/2007/06/20/csizemrc-convert-size/</guid>
		<description><![CDATA[;;;; Convert Size v1.1.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Written by: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;;; ;; &#160; Brian Schmidt aka. brianMan. &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container mirc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="mirc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">;;;; Convert Size v1.1.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Written by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; Brian Schmidt aka. brianMan. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Readme / Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Load this script in mIRC, if you don't know how to do this, then perhaps &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; you shouldn't be using this script. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; This script is used to convert size in bytes to a nice to KB/MB/GB etc. &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; There are 2 ways to use this scripts: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; 1. Message to active window with /csize: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp;&quot;/csize /csize 54653875238&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp;Will output: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp;&quot;50.9 GB&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; 2. Can also be used for in-line reverse with $rev in scripts etc. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp;&quot;//echo -a Converting 54653875238 bytes to $csize(54653875238).ext &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; gives $csize(54653875238) $csize(54653875238).ext&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp;Will output: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp;&quot;Converting 54653875238 bytes to GB gives 50.900388 GB&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Changelog ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.1.1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; * Fixed $csize().ext always returning YiB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.1.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Added posiblitiy to convert to a specific type with identifiers. &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; $csize(50000000) returns 47.683716 (MiB) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; $csize(50000000).gib returns 0.046566 (GiB) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; This can't be done with the &quot;b&quot; property, wich is also irrelevant, since ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; the Bytes is allready what you have. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Initial release. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #994444;">alias</span> csize <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span> &lt;= 3<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span> $<span style="color: #000099;">$1</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span> B<br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span> &gt; 3 || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> != <span style="color: #000099;">$null</span> &amp;&amp; <span style="color: #000099;">$prop</span> == kib<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span> <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> $<span style="color: #000099;">$1</span> <span style="color: #FF0000;">/</span> 1024 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span> KiB<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == kib<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%csize</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span> &gt; 6 || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> != <span style="color: #000099;">$null</span> &amp;&amp; <span style="color: #000099;">$prop</span> == mib<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span> <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%csize</span> <span style="color: #FF0000;">/</span> 1024 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span> MiB<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == mib<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%csize</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span> &gt; 9 || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> != <span style="color: #000099;">$null</span> &amp;&amp; <span style="color: #000099;">$prop</span> == gib<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span> <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%csize</span> <span style="color: #FF0000;">/</span> 1024 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span> GiB<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == gib<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%csize</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span> &gt; 12 || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> != <span style="color: #000099;">$null</span> &amp;&amp; <span style="color: #000099;">$prop</span> == tib<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span> <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%csize</span> <span style="color: #FF0000;">/</span> 1024 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span> TiB<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == tib<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%csize</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span> &gt; 15 || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> != <span style="color: #000099;">$null</span> &amp;&amp; <span style="color: #000099;">$prop</span> == pib<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span> <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%csize</span> <span style="color: #FF0000;">/</span> 1024 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span> PiB<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == pib<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%csize</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span> &gt; 18 || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> != <span style="color: #000099;">$null</span> &amp;&amp; <span style="color: #000099;">$prop</span> == eib<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span> <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%csize</span> <span style="color: #FF0000;">/</span> 1024 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span> EiB<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == eib<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%csize</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span> &gt; 21 || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> != <span style="color: #000099;">$null</span> &amp;&amp; <span style="color: #000099;">$prop</span> == zib<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span> <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%csize</span> <span style="color: #FF0000;">/</span> 1024 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span> ZiB<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == zib<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%csize</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span>$<span style="color: #000099;">$1</span><span style="color: #FF0000;">&#41;</span> &gt; 24 || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> != <span style="color: #000099;">$null</span> &amp;&amp; <span style="color: #000099;">$prop</span> == yib<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span> <span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> <span style="color: #990000;">%csize</span> <span style="color: #FF0000;">/</span> 1024 <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span> YiB<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == yib<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%csize</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$isid</span> == <span style="color: #000099;">$true</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$prop</span> == ext<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%csize</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> <span style="color: #000099;">$round</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%csize</span>,2<span style="color: #FF0000;">&#41;</span> <span style="color: #990000;">%csize</span>.<span style="color: #008000;">ext</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
<span style="color: #FF0000;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://briped.net/2007/06/20/csizemrc-convert-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>everyone.mrc &#8211; Greet everyone in a channel</title>
		<link>http://briped.net/2007/06/20/everyonemrc-greet-everyone-in-a-channel/</link>
		<comments>http://briped.net/2007/06/20/everyonemrc-greet-everyone-in-a-channel/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 09:16:45 +0000</pubDate>
		<dc:creator>Brian Schmidt Pedersen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[mIRC]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://briped.net/2007/06/20/everyonemrc-greet-everyone-in-a-channel/</guid>
		<description><![CDATA[;;;; Everyone v1.0.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Written by: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;;; ;; &#160; Brian Schmidt aka. brianMan. &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[

<div class="codecolorer-container mirc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="mirc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">;;;; Everyone v1.0.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Written by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; Brian Schmidt aka. brianMan. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Readme / Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Load this script in mIRC, if you don't know how to do this, then perhaps &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; you shouldn't be using this script. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Return all nicks (except your own) for use in fun/annoying scripts. &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Identifiers available: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; $everyone &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Changelog ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Initial release. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #994444;">alias</span> everyone <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%i</span> = 1<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%c</span> = 0<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%total</span> = <span style="color: #000099;">$nick</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$chan</span>,0<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%i</span> &lt;= <span style="color: #990000;">%total</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%i</span> &lt; <span style="color: #990000;">%total</span><span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%seperator</span> = , <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%seperator</span> = <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> and <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$nick</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$chan</span>,<span style="color: #990000;">%i</span><span style="color: #FF0000;">&#41;</span> != <span style="color: #000099;">$me</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%c</span> == 0<span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%out</span> = <span style="color: #000099;">$nick</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$chan</span>,<span style="color: #990000;">%i</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%out</span> = <span style="color: #990000;">%out</span> $+ <span style="color: #990000;">%seperator</span> $+ <span style="color: #000099;">$nick</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$chan</span>,<span style="color: #990000;">%i</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inc <span style="color: #990000;">%c</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; inc <span style="color: #990000;">%i</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%out</span><br />
<span style="color: #FF0000;">&#125;</span></div></div>

]]></content:encoded>
			<wfw:commentRss>http://briped.net/2007/06/20/everyonemrc-greet-everyone-in-a-channel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hli.mrc &#8211; Highlight Ignore</title>
		<link>http://briped.net/2007/06/20/hlimrc-highlight-ignore/</link>
		<comments>http://briped.net/2007/06/20/hlimrc-highlight-ignore/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 09:15:40 +0000</pubDate>
		<dc:creator>Brian Schmidt Pedersen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[mIRC]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://briped.net/2007/06/20/hlimrc-highlight-ignore/</guid>
		<description><![CDATA[;;;; Highlight Ignore v1.1.1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Written by: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;;; ;; &#160; Brian Schmidt aka. brianMan. &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container mirc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="mirc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">;;;; Highlight Ignore v1.1.1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Written by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; Brian Schmidt aka. brianMan. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Readme / Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Load this script in mIRC, if you don't know how to do this, then perhaps &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; you shouldn't be using this script. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Simple script to enable/disable highlights on the fly. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Commands available: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; /hli &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Changelog ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.1.1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; * Fixed script so it catches all highlights, but doesn't catch numbers &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; which $me apparently tends to catch. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; Only works with 1 word in each highlight entry :( &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; * Changed the date syntax which was used in the @Hightlights window. &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.1.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; * Rewrote code to be nicer/more compact. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Initial release. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #994444;">alias</span> hli <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%hli</span>.<span style="color: #008000;">status</span> != <span style="color: #000099;">$null</span> &amp;&amp; <span style="color: #990000;">%hli</span>.<span style="color: #008000;">status</span> != 0 &amp;&amp; <span style="color: #990000;">%hli</span>.<span style="color: #008000;">status</span> != off<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; set <span style="color: #990000;">%hli</span>.<span style="color: #008000;">status</span> 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tac</span> info *** Highlight <a href="http://www.mirc.com/ignore"><span style="color: #990000; font-weight: bold;">ignore</span></a> is OFF: mIRC will now act according to your Highlight Settings.<br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; set <span style="color: #990000;">%hli</span>.<span style="color: #008000;">status</span> 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tac</span> info *** Highlight <a href="http://www.mirc.com/ignore"><span style="color: #990000; font-weight: bold;">ignore</span></a> is ON: mIRC will no longer <a href="http://www.mirc.com/flash"><span style="color: #990000; font-weight: bold;">flash</span></a> or <a href="http://www.mirc.com/beep"><span style="color: #990000; font-weight: bold;">beep</span></a> when you get highlighted.<br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
<span style="color: #FF0000;">&#125;</span><br />
<br />
on ^*:TEXT:*:*: <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$matchtok</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span>-, <span style="color: #000099;">$highlight</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span>-<span style="color: #FF0000;">&#41;</span>, 0, 32<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$window</span><span style="color: #FF0000;">&#40;</span><span style="color: #888800;">@Highlights</span><span style="color: #FF0000;">&#41;</span> == <span style="color: #000099;">$null</span><span style="color: #FF0000;">&#41;</span> <a href="http://www.mirc.com/window"><span style="color: #990000; font-weight: bold;">window</span></a> <span style="color: #888800;">-n</span> <span style="color: #888800;">@Highlights</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">@Highlights</span> <span style="color: #FF0000;">&#91;</span><span style="color: #FF0000;">&#91;</span> $+ <span style="color: #000099;">$asctime</span><span style="color: #FF0000;">&#40;</span>yyyy<span style="color: #888800;">-mm</span><span style="color: #888800;">-dd</span> HH:nn:ss<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #FF0000;">&#93;</span><span style="color: #FF0000;">&#93;</span> &lt; $+ <span style="color: #000099;">$nick</span> $+ <span style="color: #000099;">$iif</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$chan</span> != <span style="color: #000099;">$null</span>,@ $+ <span style="color: #000099;">$chan</span>,<span style="color: #FF0000;">&#41;</span> $+ @ $+ <span style="color: #000099;">$network</span> $+ &gt; <span style="color: #000099;">$1</span>-<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%hli</span>.<span style="color: #008000;">status</span> == 1 || <span style="color: #990000;">%hli</span>.<span style="color: #008000;">status</span> == on<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; haltdef<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$target</span> == <span style="color: #000099;">$nick</span> || <span style="color: #000099;">$target</span> == =<span style="color: #000099;">$nick</span><span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%target</span> = <span style="color: #000099;">$iif</span><span style="color: #FF0000;">&#40;</span>=* iswm <span style="color: #000099;">$active</span>,=<span style="color: #000099;">$nick</span>,<span style="color: #000099;">$nick</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%target</span> = <span style="color: #000099;">$target</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #000099;">$highlight</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span>-<span style="color: #FF0000;">&#41;</span>.<a href="http://www.mirc.com/color"><span style="color: #990000; font-weight: bold;">color</span></a> <span style="color: #888800;">-t</span> <span style="color: #990000;">%target</span> &lt; $+ <span style="color: #000099;">$nick</span> $+ &gt; <span style="color: #000099;">$1</span>-<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
<span style="color: #FF0000;">&#125;</span><br />
<br />
on ^*:<a href="http://www.mirc.com/action"><span style="color: #990000; font-weight: bold;">ACTION</span></a>:*:*: <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$matchtok</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span>-, <span style="color: #000099;">$highlight</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span>-<span style="color: #FF0000;">&#41;</span>, 0, 32<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$window</span><span style="color: #FF0000;">&#40;</span><span style="color: #888800;">@Highlights</span><span style="color: #FF0000;">&#41;</span> == <span style="color: #000099;">$null</span><span style="color: #FF0000;">&#41;</span> <a href="http://www.mirc.com/window"><span style="color: #990000; font-weight: bold;">window</span></a> <span style="color: #888800;">-n</span> <span style="color: #888800;">@Highlights</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-c</span> <a href="http://www.mirc.com/action"><span style="color: #990000; font-weight: bold;">action</span></a> <span style="color: #888800;">@Highlights</span> <span style="color: #FF0000;">&#91;</span><span style="color: #FF0000;">&#91;</span> $+ <span style="color: #000099;">$asctime</span><span style="color: #FF0000;">&#40;</span>yyyy<span style="color: #888800;">-mm</span><span style="color: #888800;">-dd</span> HH:nn:ss<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #FF0000;">&#93;</span><span style="color: #FF0000;">&#93;</span> * $+ <span style="color: #000099;">$nick</span> $+ <span style="color: #000099;">$iif</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$chan</span> != <span style="color: #000099;">$null</span>,@ $+ <span style="color: #000099;">$chan</span>,<span style="color: #FF0000;">&#41;</span> $+ @ $+ <span style="color: #000099;">$network</span> <span style="color: #000099;">$1</span>-<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%hli</span>.<span style="color: #008000;">status</span> == 1 || <span style="color: #990000;">%hli</span>.<span style="color: #008000;">status</span> == on<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; haltdef<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$target</span> == <span style="color: #000099;">$nick</span> || <span style="color: #000099;">$target</span> == =<span style="color: #000099;">$nick</span><span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%target</span> = <span style="color: #000099;">$iif</span><span style="color: #FF0000;">&#40;</span>=* iswm <span style="color: #000099;">$active</span>,=<span style="color: #000099;">$nick</span>,<span style="color: #000099;">$nick</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%target</span> = <span style="color: #000099;">$target</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #000099;">$highlight</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span>-<span style="color: #FF0000;">&#41;</span>.<a href="http://www.mirc.com/color"><span style="color: #990000; font-weight: bold;">color</span></a> <span style="color: #888800;">-t</span> <span style="color: #990000;">%target</span> * <span style="color: #000099;">$nick</span> <span style="color: #000099;">$1</span>-<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
<span style="color: #FF0000;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://briped.net/2007/06/20/hlimrc-highlight-ignore/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>morse.mrc &#8211; Morse Talk</title>
		<link>http://briped.net/2007/06/20/morsemrc-morse-talk/</link>
		<comments>http://briped.net/2007/06/20/morsemrc-morse-talk/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 09:14:58 +0000</pubDate>
		<dc:creator>Brian Schmidt Pedersen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[mIRC]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://briped.net/2007/06/20/morsemrc-morse-talk/</guid>
		<description><![CDATA[;;;; Morse Talk v1.0.2 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Written by: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;;; ;; &#160; Brian Schmidt aka. brianMan. &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container mirc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="mirc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">;;;; Morse Talk v1.0.2 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Written by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; Brian Schmidt aka. brianMan. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Readme / Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Load this script in mIRC, if you don't know how to do this, then perhaps &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; you shouldn't be using this script. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; This morse script is only able to convert to and from 0-9 and A-Z &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; The script consists of 2 identifiers, 1 alias and a MORSE-to-normal text &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; catcher. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; To talk to the active window, with morse code simply type: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &quot;/morse This will be written in morse code&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Will output: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &quot;[s2m] - .... .. ... &nbsp;.-- .. .-.. .-.. &nbsp;-... . &nbsp;.-- .-. .. - - . -. &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp;.. -. &nbsp;-- --- .-. ... . &nbsp;-.-. --- -.. . &quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Any user that have the same morse script loaded will have the morse code &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; automatically converted into normal text, so they will actually see the &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; following on their screen: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &quot;[m2s] THIS WILL BE WRITTEN IN MORSE CODE&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; The 2 identifiers available is $string2morse and $morse2string, wich can &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; be used in other scripts. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &quot;//echo -a Some of $string2morse(this) text will be in morse&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Will output: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &quot;Some of - .... .. ... &nbsp;text will be in morse&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; And: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &quot;//echo -a $morse2string(- .... .. ... )&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Will output: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &quot;THIS&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Changelog ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; * Fixed many of the scripts replacement routines. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Added automatic morse-&gt;ascii conversion between several people using &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; script. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; * Split up the parts of the script, so that it will be easier to use in &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; other scripts. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Initial release. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #994444;">alias</span> string2morse <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span>-,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,A,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,B,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,C,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -.-. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,D,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -.. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,E,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ . $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,F,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ..-.- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,G,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ --. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,H,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,I,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,J,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .--- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,K,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -.- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,L,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .-.. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,M,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,N,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,O,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ --- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,P,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .--. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,Q,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ --.- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,R,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .-. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,S,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,T,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ - $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,U,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ..- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,V,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ...- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,W,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .-- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,X,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -..- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,Y,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -.-- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,Z,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ --.. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,0,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ----- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,1,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .---- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,2,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ..--- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,3,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ...-- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,4,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ....- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,5,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ..... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,6,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -.... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,7,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ --... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,8,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ---.. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%string2morse</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%string2morse</span>,9,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ----. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%string2morse</span><br />
<span style="color: #FF0000;">&#125;</span><br />
<br />
<span style="color: #994444;">alias</span> morse2string <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span>-,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,A<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,B<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -.-. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,C<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -.. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,D<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ . $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,E<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ..-.- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,F<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ --. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,G<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,H<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,I<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .--- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,J<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -.- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,K<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .-.. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,L<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,M<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,N<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ --- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,O<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .--. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,P<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ --.- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,Q<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .-. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,R<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,S<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ - $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,T<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ..- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,U<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ...- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,V<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .-- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,W<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -..- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,X<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -.-- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,Y<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ --.. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,Z<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ----- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,0<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ .---- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,1<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ..--- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,2<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ...-- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,3<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ....- $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,4<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ..... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,5<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ -.... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,6<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ --... $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,7<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ---.. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,8<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%morse2string</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%morse2string</span>,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span> $+ ----. $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>15<span style="color: #FF0000;">&#41;</span>,9<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%morse2string</span><br />
<span style="color: #FF0000;">&#125;</span><br />
<br />
<span style="color: #994444;">alias</span> morse <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tac</span> info Wrote: <span style="color: #000099;">$1</span>-<br />
&nbsp; &nbsp; <a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> <span style="color: #FF0000;">&#91;</span>s2m<span style="color: #FF0000;">&#93;</span> <span style="color: #000099;">$string2morse</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span>-<span style="color: #FF0000;">&#41;</span><br />
<span style="color: #FF0000;">&#125;</span><br />
<br />
on ^*:TEXT:<span style="color: #FF0000;">&#91;</span>s2m<span style="color: #FF0000;">&#93;</span>*:*:<span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; haltdef<br />
&nbsp; &nbsp; <a href="http://www.mirc.com/echo"><span style="color: #990000; font-weight: bold;">echo</span></a> <span style="color: #888800;">-tc</span> normal <span style="color: #000099;">$target</span> &lt; $+ <span style="color: #000099;">$nick</span> $+ &gt; <span style="color: #FF0000;">&#91;</span>m2s<span style="color: #FF0000;">&#93;</span> <span style="color: #000099;">$morse2string</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$2</span>-<span style="color: #FF0000;">&#41;</span><br />
<span style="color: #FF0000;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://briped.net/2007/06/20/morsemrc-morse-talk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>progress.mrc &#8211; Progress Meter</title>
		<link>http://briped.net/2007/06/20/progressmrc-progress-meter/</link>
		<comments>http://briped.net/2007/06/20/progressmrc-progress-meter/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 09:14:18 +0000</pubDate>
		<dc:creator>Brian Schmidt Pedersen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[mIRC]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://briped.net/2007/06/20/progressmrc-progress-meter/</guid>
		<description><![CDATA[;;;; Progress Meter v1.0.1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Written by: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;;; ;; &#160; Brian Schmidt aka. brianMan aka. b&#124;man. &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container mirc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="mirc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">;;;; Progress Meter v1.0.1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Written by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; Brian Schmidt aka. brianMan aka. b|man. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Readme / Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Load this script in mIRC, if you don't know how to do this, then perhaps &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; you shouldn't be using this script. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; This script is mainly used in other script for creating percentage &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; progress bars. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; Simply use it like this: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; $progress(100) and offcourse replace 100 with whatever percentage it needs ;;</span><br />
<span style="color: #808080; font-style: italic;">;; to fill out. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; You can feed it optional parameters for the design of the bar: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; $progress( [,filled[,not-filled[,bracket-begin[,bracket-end]]]]) &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Changelog ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; * Fixed optional fill-char/not-fill-char. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; - Removed the possibility to replace the brackets on-the-fly due to the &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; fact that it didn't work. Trying to figure out a good way to do this. &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Initial release. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #994444;">alias</span> progress <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%prc</span> <span style="color: #000099;">$round</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$calc</span><span style="color: #FF0000;">&#40;</span> $<span style="color: #000099;">$1</span> <span style="color: #FF0000;">/</span> 10<span style="color: #FF0000;">&#41;</span>,0<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%i</span> = 1<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%out</span><span style="color: #FF0000;">&#41;</span> &lt; 10<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%i</span> &lt;= <span style="color: #990000;">%prc</span><span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%out</span> = <span style="color: #990000;">%out</span> $+ |<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%out</span> = <span style="color: #990000;">%out</span> $+ .<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">inc</span> <span style="color: #990000;">%i</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$2</span> != <span style="color: #000099;">$null</span><span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%out</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%out</span>,|,<span style="color: #000099;">$2</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$3</span> != <span style="color: #000099;">$null</span><span style="color: #FF0000;">&#41;</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%out</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%out</span>,.,<span style="color: #000099;">$3</span><span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">;; Commented out due to not working, see changelog for v1.0.1</span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">;; if ($4 != $null &amp;&amp; $5 != $null) var %out = $replace(%out,|,$4) var %out = $4 $+ %out $+ $5</span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">;; else var %out = $chr(91) $+ %out $+ $chr(93)</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%out</span> = <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>91<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #990000;">%out</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>93<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%out</span><br />
<span style="color: #FF0000;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://briped.net/2007/06/20/progressmrc-progress-meter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shortDuration.mrc &#8211; Simpler, shorter duration</title>
		<link>http://briped.net/2007/06/20/shortdurationmrc-simpler-shorter-duration/</link>
		<comments>http://briped.net/2007/06/20/shortdurationmrc-simpler-shorter-duration/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 09:11:11 +0000</pubDate>
		<dc:creator>Brian Schmidt Pedersen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[mIRC]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://briped.net/2007/06/20/shortdurationmrc-simpler-shorter-duration/</guid>
		<description><![CDATA[;;;; Short Duration v1.0.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Written by: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;;; ;; &#160; Brian Schmidt aka. brianMan. &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container mirc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="mirc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">;;;; Short Duration v1.0.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Written by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; Brian Schmidt aka. brianMan. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Readme / Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Load this script in mIRC, if you don't know how to do this, then perhaps &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; you shouldn't be using this script. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Very simple script that gives me an extra identifier for making the &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; duration delivered by mIRC's own $duration shorter and cleaner. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; really very customizable &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Identifiers available: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; $shortDuration() &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Changelog ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Initial release. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #994444;">alias</span> shortDuration <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span>-,<span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span>,,secs,s,sec,s,mins,m,min,m,hrs,h,hr,h,days,d,day,d,wks,w,wk,w<span style="color: #FF0000;">&#41;</span><br />
<span style="color: #FF0000;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://briped.net/2007/06/20/shortdurationmrc-simpler-shorter-duration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>simple_amip.mrc &#8211; Simple AMIP Announcer</title>
		<link>http://briped.net/2007/06/20/simple_amipmrc-simple-amip-announcer/</link>
		<comments>http://briped.net/2007/06/20/simple_amipmrc-simple-amip-announcer/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 09:09:22 +0000</pubDate>
		<dc:creator>Brian Schmidt Pedersen</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[mIRC]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://briped.net/2007/06/20/simple_amipmrc-simple-amip-announcer/</guid>
		<description><![CDATA[;;;; Simple AMIP Announcer v1.0.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Written by: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;;; ;; &#160; Brian Schmidt aka. brianMan. &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container mirc default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="mirc codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">;;;; Simple AMIP Announcer v1.0.0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Written by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; Brian Schmidt aka. brianMan. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Readme / Help ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Load this script in mIRC, if you don't know how to do this, then perhaps &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; you shouldn't be using this script. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Simple script to announce in a channel what you're listening to. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; The scripts interacts with the AMIP plugin for WinAMP, which can be found &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; on this address: http://amip.tools-for.net/wiki/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; This script has it's 2 default outputs bound to the F3 and Shift+F3 keys. &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Identifiers available: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; $amip_announce &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; Examples: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; msg $active $amip_announce &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; &nbsp; msg $active $amip_announce(xml) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #808080; font-style: italic;">;;;; Changelog ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<span style="color: #808080; font-style: italic;">;; v1.0.0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;; + Initial release. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;</span><br />
<span style="color: #808080; font-style: italic;">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br />
<br />
<span style="color: #994444;">alias</span> F3 <span style="color: #FF0000;">/</span><a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> <span style="color: #000099;">$amip</span>_announce<br />
<span style="color: #994444;">alias</span> SF3 <span style="color: #FF0000;">/</span><a href="http://www.mirc.com/msg"><span style="color: #990000; font-weight: bold;">msg</span></a> <span style="color: #000099;">$active</span> <span style="color: #000099;">$amip</span>_announce<span style="color: #FF0000;">&#40;</span>xml<span style="color: #FF0000;">&#41;</span><br />
<span style="color: #994444;">alias</span> amip_announce <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">;; Check if it's a stream or a file.</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$left</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$dde</span> mPlug var_fn &quot;&quot;,7<span style="color: #FF0000;">&#41;</span> == http:<span style="color: #FF0000;">//</span><span style="color: #FF0000;">&#41;</span> || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$left</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$dde</span> mPlug var_fn &quot;&quot;,8<span style="color: #FF0000;">&#41;</span> == https:<span style="color: #FF0000;">//</span><span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%is_stream</span> = 1<br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%is_stream</span> = 0<br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">;; Fetch the various information from AMIP.</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<a href="http://www.mirc.com/auto"><span style="color: #990000; font-weight: bold;">auto</span></a> = <span style="color: #000099;">$dde</span> mPlug var_name &quot;&quot;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">fullpath</span> = <span style="color: #000099;">$dde</span> mPlug var_fn &quot;&quot;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">extension</span> = <span style="color: #000099;">$iif</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%is_stream</span> == 1,stream,<span style="color: #000099;">$dde</span> mPlug var_ext &quot;&quot;<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">artist</span> = <span style="color: #000099;">$dde</span> mPlug var_1 &quot;&quot;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">title</span> = <span style="color: #000099;">$dde</span> mPlug var_2 &quot;&quot;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">album</span> = <span style="color: #000099;">$dde</span> mPlug var_4 &quot;&quot;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">track</span> = <span style="color: #000099;">$dde</span> mPlug var_3 &quot;&quot;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">bitrate</span> = <span style="color: #000099;">$dde</span> mPlug var_br &quot;&quot;<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">;; These can only be set if it's not a stream.</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%is_stream</span> == 0<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">length</span>.<span style="color: #008000;">sec</span> = <span style="color: #000099;">$dde</span> mPlug var_sl &quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">length</span>.<span style="color: #008000;">nice</span> = <span style="color: #000099;">$replace</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$duration</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%tag</span>.<span style="color: #008000;">length</span>.<span style="color: #008000;">sec</span><span style="color: #FF0000;">&#41;</span>,secs,s,sec,s,mins,m,min,m,hrs,h,hr,h,days,d,day,d,wks,w,wk,w<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">size</span>.<span style="color: #008000;">byte</span> = <span style="color: #000099;">$file</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$dde</span> mPlug var_fn &quot;&quot;<span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">size</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">size</span>.<span style="color: #008000;">nice</span> = <span style="color: #000099;">$round</span><span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$csize</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%tag</span>.<span style="color: #008000;">size</span>.<span style="color: #008000;">byte</span><span style="color: #FF0000;">&#41;</span>,2<span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%tag</span>.<span style="color: #008000;">size</span>.<span style="color: #008000;">nice</span>.<span style="color: #008000;">ext</span> = <span style="color: #000099;">$csize</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%tag</span>.<span style="color: #008000;">size</span>.<span style="color: #008000;">byte</span><span style="color: #FF0000;">&#41;</span>.<span style="color: #008000;">ext</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == xml<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = &lt; $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">extension</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%tag</span>.<span style="color: #008000;">artist</span> == <span style="color: #000099;">$null</span><span style="color: #FF0000;">&#41;</span> || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%tag</span>.<span style="color: #008000;">artist</span><span style="color: #FF0000;">&#41;</span> == 0<span style="color: #FF0000;">&#41;</span> || <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%tag</span>.<span style="color: #008000;">title</span> == <span style="color: #000099;">$null</span><span style="color: #FF0000;">&#41;</span> || <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%tag</span>.<span style="color: #008000;">title</span><span style="color: #FF0000;">&#41;</span> == 0<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ song=&quot; $+ <span style="color: #990000;">%tag</span>.<a href="http://www.mirc.com/auto"><span style="color: #990000; font-weight: bold;">auto</span></a> &nbsp;$+ &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ artist=&quot; $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">artist</span> &nbsp;$+ &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ title=&quot; $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">title</span> &nbsp;$+ &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%tag</span>.<span style="color: #008000;">album</span> != <span style="color: #000099;">$null</span><span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ album=&quot; $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">album</span> $+ &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%tag</span>.<span style="color: #008000;">track</span> != <span style="color: #000099;">$null</span><span style="color: #FF0000;">&#41;</span> &amp;&amp; <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$len</span><span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%tag</span>.<span style="color: #008000;">track</span><span style="color: #FF0000;">&#41;</span> != 0<span style="color: #FF0000;">&#41;</span><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ track=&quot; $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">track</span> $+ &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%is_stream</span> == 0<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ length=&quot; $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">length</span>.<span style="color: #008000;">nice</span> $+ &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ size=&quot; $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">size</span>.<span style="color: #008000;">nice</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">size</span>.<span style="color: #008000;">nice</span>.<span style="color: #008000;">ext</span> $+ &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ bitrate=&quot; $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">bitrate</span> $+ &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%is_stream</span> == 1<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <a href="http://www.mirc.com/url"><span style="color: #990000; font-weight: bold;">url</span></a>=&quot; $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">fullpath</span> $+ &quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #FF0000;">/</span>&gt;<br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">elseif</span> <span style="color: #FF0000;">&#40;</span><span style="color: #000099;">$1</span> == <a href="http://www.mirc.com/action"><span style="color: #990000; font-weight: bold;">action</span></a><span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = is listening to:<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #990000;">%tag</span>.<a href="http://www.mirc.com/auto"><span style="color: #990000; font-weight: bold;">auto</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%is_stream</span> == 0<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #FF0000;">&#40;</span> $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">length</span>.<span style="color: #008000;">nice</span> $+ <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #FF0000;">&#40;</span> $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">fullpath</span> $+ <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%tag</span>.<span style="color: #008000;">extension</span> $+ :<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #990000;">%tag</span>.<a href="http://www.mirc.com/auto"><span style="color: #990000; font-weight: bold;">auto</span></a><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #FF0000;">&#40;</span><span style="color: #990000;">%is_stream</span> == 0<span style="color: #FF0000;">&#41;</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #FF0000;">&#40;</span> $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">length</span>.<span style="color: #008000;">nice</span> $+ <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">else</span> <span style="color: #FF0000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #990000;">%output</span> = <span style="color: #990000;">%output</span> $+ <span style="color: #000099;">$chr</span><span style="color: #FF0000;">&#40;</span>32<span style="color: #FF0000;">&#41;</span> $+ <span style="color: #FF0000;">&#40;</span> $+ <span style="color: #990000;">%tag</span>.<span style="color: #008000;">fullpath</span> $+ <span style="color: #FF0000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #FF0000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #990000;">%output</span><br />
<span style="color: #FF0000;">&#125;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://briped.net/2007/06/20/simple_amipmrc-simple-amip-announcer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

