Posted 07 August 2014 - 11:45 PM
m = peripheral.wrap('top')
c = peripheral.wrap('left')
while true do
en = c.getEnergyStored('east')
m.clear()
m.setCursorPos(4,1)
m.write(en..' ')
if en<5000000
then redstone.setBundledOutput(right, colors.white)
else
sleep(0.5)
end
end
the name of the program is energy
it keeps saying " energy:9: Expected string, number
just like i wrote, i've looked in all the APIs and still didnt find nothing tht helpped me
c = peripheral.wrap('left')
while true do
en = c.getEnergyStored('east')
m.clear()
m.setCursorPos(4,1)
m.write(en..' ')
if en<5000000
then redstone.setBundledOutput(right, colors.white)
else
sleep(0.5)
end
end
the name of the program is energy
it keeps saying " energy:9: Expected string, number
just like i wrote, i've looked in all the APIs and still didnt find nothing tht helpped me