Posted 08 June 2013 - 01:01 PM
Okay so, I'm making an advanced power system using vanilla redstone, all I need now is to add the ability to "stack up" on power, like a battery, I know how to do it, but it won't let me. It either says that it's "got an unexpected symbol" or something about "Ambigous statement of x" or something, and I just want to know if someone could quickly see my code, tell me how I can add in this charging ability.
Total = 0 --Useless right now.
repeat
Input = redstone.getAnalogInput("right")
Total = redstone.getAnalogOutput("left")
redstone.setAnalogOutput("left",Input)
print("Current Input is)print(Input)
print("Current Output is")print(Output)
print("Current Power is")print(Total)
1+Total --Point of issue
--Comment here--
sleep(1)
term.clear()
term.setCursorPos(1,1)
until nil