Posted 08 November 2014 - 06:05 AM
So I'm making a program that emits a redstone signal when the reactor's energy in the big reactors mod is full, and stops that signal when it's not full.
I'm sort of new to ComputerCraft. I'm using what little knowledge I know and my Java knowledge.
Sorry to bother about this. I may see like an idiot, but I'd like to learn computercraft better.
p = peripheral.wrap("back")
while true do
if p.getEnergyStored() = 10000000
then
redstone set ("right") (true)
else
redsone set ("right") (false)
I'm sort of new to ComputerCraft. I'm using what little knowledge I know and my Java knowledge.
Sorry to bother about this. I may see like an idiot, but I'd like to learn computercraft better.
p = peripheral.wrap("back")
while true do
if p.getEnergyStored() = 10000000
then
redstone set ("right") (true)
else
redsone set ("right") (false)