Posted 17 March 2012 - 06:26 AM
I've been trying to create a control script to work with BuildCraft, IC2, and RedPower, this is what i had, but when i try to use it i get
"[string "disk/test"]:2: unexpected symbol"
I can guess the ":2:" is how many errors are left
oh, and i am using the version in Tekkit
"[string "disk/test"]:2: unexpected symbol"
I can guess the ":2:" is how many errors are left
oh, and i am using the version in Tekkit
function Maintain()
write("welcome") then
if r1 = 1 then
write("Ore Dust Extraction system is: ON. Turn it off? (Y/N)") then
t = io.read
if t = "Y" then
redstone.setBundledOutput("back", colors.magenta)
else
pass()
end
else
write("Ore Dust Extraction system if: OFF. Turn it on? (Y/N)") then
t = io.read
if t = "Y" then
redstone.setBundledOutput("back", colors.magenta)
set r1 = 1
end
end