24 posts
Location
England, Europe, Earth, Solar System, Milky Way, Local Cluster, Local Supercluster, Observable Universe, Universe, Local Multiverse... this could go on forever
Posted 28 June 2015 - 07:19 PM
This is my first "big" piece of code, and it is called Commando!
Commando is a program that runs and allows you to setup your monitors colours, text sizes and text colours. It then allows you to run commands that I have programmed in with a easy to understand interface(words)
Since the "list" command in Commando is broken, I will tell you all of the programs that are currantly runnable. With more to come!
Commands:
time- displays the time
timer- a timer that waits x amount of seconds and tells you on your monitor.
random- lets you set a pair of parameters and generarates a number within those parameters.
day- Tells you the world day.
runcalculator(Broken)- Runs my Simple Maths Calculator, which can be obtained here:
http://www.computercraft.info/forums2/index.php?/topic/23738-simple-maths-calculator/page__fromsearch__1list(Broken)-Lists all programs.
Thank you for checking out my program.
Notes: This still has features which are broken. They will force your computer to turn off. In order for runcalculator to work, the Maths program I made needs to be called calculator. Sorry:(.
Pastebin code: pastebin get HgDJ5zJY Commando
Edited on 28 June 2015 - 05:41 PM
2679 posts
Location
You will never find me, muhahahahahaha
Posted 28 June 2015 - 07:37 PM
Please do not use tinyurl. The moderators don't like it at all!
Else, this seems quite interesting. Is it like a bunch of functions that will print on the monitor?
24 posts
Location
England, Europe, Earth, Solar System, Milky Way, Local Cluster, Local Supercluster, Observable Universe, Universe, Local Multiverse... this could go on forever
Posted 28 June 2015 - 07:40 PM
Please do not use tinyurl. The moderators don't like it at all!
Else, this seems quite interesting. Is it like a bunch of functions that will print on the monitor?
I will change the tiny url, thank you for noticing. Yes, it is a bunch of functions that will print on a monitor, however you do need to go in the code and change where the monitor is wrapped. Stuff like time has a infinite loop, while the random prints its number onto the monitor then restarts the comp.
24 posts
Location
England, Europe, Earth, Solar System, Milky Way, Local Cluster, Local Supercluster, Observable Universe, Universe, Local Multiverse... this could go on forever
Posted 28 June 2015 - 08:12 PM
Updated Calculator code, which allows you to link your calculator with your monitor:
pastebin get Qd5Ex2hE calculator.
This also fixes a bug with the runcalculator, which would make the calculator never terminate.
Note: This caused a bunch of bugs with the calculator program itself, so here is the fixed version of the calculator program:
pastebin get FwBDW1Hh calculator. Im keeping the old one there for people who want to see my errors:P
Edited on 28 June 2015 - 06:21 PM
24 posts
Location
England, Europe, Earth, Solar System, Milky Way, Local Cluster, Local Supercluster, Observable Universe, Universe, Local Multiverse... this could go on forever
Posted 01 July 2015 - 10:54 PM
Since this has nearly hit 100 views on this post, I will begin development on Commando V1.1
Things to expect-
run program
list to be fixed
any other ideas you may want, post them down below:P