Top

Binary clock

Please Register to submit score.
Average Score  8.3
Scores Submitted  3
Date Added  Sep 23, 2006
Last Updated  Apr 02, 2007
Tags  binary  clock  fun 

Introduction

A binary clock :D
This will teach you how to tell the time on a binary clock aswell as tell the time :)
/bclock - turns it on
/block off - turns it off (also turns off when you close the window)
The colours are customizable, search for ";colours" in the script (they are currently ok for default mIRC colours)
Where to buy a binary clock
In depth how to read a binary clock
Have fun and buy yourself a real life binary clock to impress your friends!

Grab the Code

Comments

  (5)  RSS
QuickStep
Comments: 123
 
mIRC Snippet:  Binary clock
Posted on Sep 23, 2006 4:02 pm
Code is a little big... You could just use $base(<int>,10,2) to convert an integer to a binary string, then loop through the string with $mid and color the square if a 1 is found...
Ace99
Comments: 36
 
mIRC Snippet:  Binary clock
Posted on Sep 24, 2006 10:29 am
Never seen a code like that oh, and use their advice.

|
|
v
StanZ
Comments: 19
 
mIRC Snippet:  Binary clock
Posted on Sep 26, 2006 3:43 am
Yep could be smaller but otherwise well done :) Still nice to see another method.

Not a bad point, just something to say about the picture window.
If you set -1 -1 to a picwin, it doesn't center at all with a dual screen system (at least for me ;p), the picwin open in my second monitor to the up/left
There's this flag -C (and then you can put 0 0 instead -1 -1
sean
Comments: 99
 
mIRC Snippet:  Binary clock
Posted on Sep 26, 2006 3:56 am
Im still not sure as to how exactally to read this clock but, it's a very 'neat' and original idea for script (and I will learn! lol). Unfortunatly, the scripting of this could use some improvement, as pointed out. Keep up the good work though!
Daveoh
Comments: 27
 
mIRC Snippet:  Binary clock
Posted on Nov 18, 2006 2:13 am
Unfortunately I have no idea how to use '$base(<int>,10,2) to convert an integer to a binary string, then loop through the string with $mid and color the square if a 1 is found'

Please Register or Login to start posting comments.
Bottom