Colour trigger help

Posted by Softx on Mon 28 Feb 2005 06:02 AM — 3 posts, 16,426 views.

#0
Please tell me how to recognize the following numbers by using script, thanks.
----------------------
<!-- Produced by MuClient v 3.65 - www.muclient.com -->
<table border=0 cellpadding=5 bgcolor="#F5F5F5">
<tr><td>
<pre><code><font size=2 face="FixedSys, Lucida Console, Courier New, Courier"><font color="#0">
</font><font color="#707070"> </font><font color="#8B4513"><span style="color: #8B4513; background: #B20000">S</span></font><font color="#707070"><span style="color: #707070; background: #707070">!v+</span></font><font color="#8B4513"><span style="color: #8B4513; background: #B20000">O</span></font><font color="#707070"> </font><font color="#8B4513"><span style="color: #8B4513; background: #B200B2">ENZLY</span></font><font color="#707070"> </font><font color="#8B4513"><span style="color: #8B4513; background: #00B200">JELGM</span></font><font color="#707070"> </font><font color="#8B4513"><span style="color: #8B4513; background: #00B200">DOFBR
</span></font><font color="#707070"> </font><font color="#8B4513"><span style="color: #8B4513; background: #B20000">V</span></font><font color="#707070"><span style="color: #707070; background: #707070">5vs</span></font><font color="#8B4513"><span style="color: #8B4513; background: #B20000">Q</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #B5B5FF">v3^|</span></font><font color="#8B4513"><span style="color: #8B4513; background: #B200B2">C</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #B20000">v&amp;+x</span></font><font color="#8B4513"><span style="color: #8B4513; background: #00B200">T</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #B2B200">6#8j</span></font><font color="#8B4513"><span style="color: #8B4513; background: #00B200">M
</span></font><font color="#707070"> </font><font color="#8B4513"><span style="color: #8B4513; background: #B20000">HMCEM</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #B5B5FF">iqb8</span></font><font color="#8B4513"><span style="color: #8B4513; background: #B200B2">A</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #B20000">^mo9</span></font><font color="#8B4513"><span style="color: #8B4513; background: #00B200">Z</span></font><font color="#707070"> </font><font color="#8B4513"><span style="color: #8B4513; background: #00B200">FUZRN
</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #707070">4a0d</span></font><font color="#8B4513"><span style="color: #8B4513; background: #B20000">W</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #B5B5FF">)w2+</span></font><font color="#8B4513"><span style="color: #8B4513; background: #B200B2">U</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #B20000">(hn1</span></font><font color="#8B4513"><span style="color: #8B4513; background: #00B200">D</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #B2B200">y+&amp;$</span></font><font color="#8B4513"><span style="color: #8B4513; background: #00B200">Y
</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #707070">2eb*</span></font><font color="#8B4513"><span style="color: #8B4513; background: #B20000">N</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #B5B5FF">l%8!</span></font><font color="#8B4513"><span style="color: #8B4513; background: #B200B2">W</span></font><font color="#707070"> </font><font color="#707070"><span style="color: #707070; background: #B20000">v5!j</span></font><font color="#8B4513"><span style="color: #8B4513; background: #00B200">S</span></font><font color="#707070"> </font><font color="#8B4513"><span style="color: #8B4513; background: #00B200">ZARZT
</span></font></font></code></pre>
</td></tr></table>

----------------------
Amended on Wed 23 Mar 2005 07:49 PM by Nick Gammon
Australia Forum Administrator #1
I switched your post to HTML temporarily to see what you are talking about.

Evidently the number 4713 is represented by using different colours for a big ASCII block of numbers.

That would probably be hard to script, and is probably done to stop people automating something like a stats roller.
USA #2
It's not only colored, but capital letters. Which (obviously) would be easier to trigger on. If you're looking to automate, I suggest you try that method. At least, the numbers were made up by only capital letters in that example, it might be different in other instances. But that would be the easiest to match (and all the numbers 0-9 should be the same pattern each time they happen) so it shouldn't be too hard to do by just catching the lines, going through and seeing what matches A-Z and then comparing those values to a set library of numbers. It's five across (and five tall), so I suggest using the old fasioned sprite thing and converting each number block into an array of five values from 0 to 31 which you can then compare against your library of number patterns.