[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  VBscript
. . -> [Subject]  Colour trigger help

Colour trigger help

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


Posted by Softx   (4 posts)  [Biography] 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>

----------------------
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] 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
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] 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.
[Go to top] 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.


11,779 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]