Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ VBscript ➜ Colour trigger help

Colour trigger help

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Softx   (4 posts)  Bio
Date Mon 28 Feb 2005 06:02 AM (UTC)

Amended on Wed 23 Mar 2005 07:49 PM (UTC) by Nick Gammon

Message
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>

----------------------
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 23 Mar 2005 07:50 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #2 on Thu 24 Mar 2005 01:01 AM (UTC)
Message
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.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,805 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.