Plugin to disable ANSI

Posted by Cage_fire_2000 on Fri 25 May 2007 05:23 AM — 1 posts, 10,121 views.

USA #0
OK, I saw this when I was browsing the suggestions/requests section, and I figured it'd only take like 5 minutes to whip up a plugin to do this. I personally can't see why some people seem to hate ANSI soo much, but here you go.

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Wednesday, May 23, 2007, 9:11 PM -->
<!-- MuClient version 4.01 -->

<!-- Plugin "NoAnsi" generated by Plugin Wizard -->

<muclient>
<plugin
name="NoAnsi"
author="Malix@8bit"
id="273b0a15a991021649a57203"
language="JScript"
purpose="Strips out ANSI"
date_written="2007-05-23 21:10:45"
requires="3.59"
version="1.0"
>
<description trim="y">
<![CDATA[
This plugin will strip out the ANSI sent from the server. Personally I like ANSI, but some people don't.
]]>
</description>

</plugin>


<!-- Script -->


<script>
<![CDATA[
function OnPluginPacketReceived(sText)
{
return world.StripANSI(sText);
}

]]>
</script>


<!-- Plugin help -->

<aliases>
<alias
script="OnHelp"
match="NoAnsi:help"
enabled="y"
>
</alias>
</aliases>

<script>
<![CDATA[
function OnHelp (sName, sLine, wildcards)
{
world.Note (world.GetPluginInfo (world.GetPluginID, 3));
}
]]>
</script>

</muclient>