This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Inumel's profile picture

Neat Little Program

Started by Inumel, 27 July 2013 - 12:48 AM
Inumel #1
Posted 27 July 2013 - 02:48 AM
So, I run a small private server for a few of my friends an i, running the FTB "new world" modpack
I made this program to create a bit of… Ease for us

Here it is
http://pastebin.com/AcTK3hPq

The command blocks are set up using the appropriate commands, hooked up to the computer via Minefactory reloaded rednet cabling, which allows the use of .

rs.setBundledOutput()

It lets the user change the time to day, stop any rain/snow, and teleport to any places we frequent,
All using command blocks.

Any criticism good or bad, I am happy to hear it(how else will I improve??)

For a bit more detail on how the MFR cabling works I suggest reading the MCF page http://www.minecraftforum.net/topic/1629898-151152-powercrystals-mods-the-updates-never-stop/#mfr
Inumel #2
Posted 27 July 2013 - 02:50 AM
Sigh, I need to get into the habit of commenting my code
Zudo #3
Posted 27 July 2013 - 03:41 AM
Does
Neat Little Program
tell me what this program does?
Inumel #4
Posted 27 July 2013 - 03:47 AM
Does
Neat Little Program
tell me what this program does?

No, but
It lets the user change the time to day, stop any rain/snow, and teleport to any places we frequent,
All using command blocks.
does
Zudo #5
Posted 27 July 2013 - 03:52 AM
Yeah, but I suggest giving a short explanation of what this does, because no-one would look at a program called
Neat Little Program
unless they knew what it did.

And how do I set up the command blocks? I can't be bothered to read your code.
Inumel #6
Posted 27 July 2013 - 03:56 AM
I was more looking for critiques on the code itself, not how I present it. Though I will edit the main post a little bit
svdragster #7
Posted 27 July 2013 - 06:49 AM

  else
    print("Please select a valid option!")
  end
  sleep(5)

What about

  else
    print("Please select a valid option!")
  end
print("Waiting for keypress...")
  os.pullEvent()
People don't like sleeps ^^