Posted 05 January 2013 - 08:16 AM
Hello guys! I have got problem with my computer in tekkit.
i can't connect Bundled cable with pc, can someone edit this program for Bundled cable please I do it already third day and i can't do it.
i try it this
if reactors == true then
reactors = "Reactors vypnut"
end
shell.run("clear")
local function centerText (text)
local x,y = term.getSize()
local x2,y2 = term.getCursorPos()
print(text)
end
centerText("———My Software———")
term.setCursorPos(1,3)
centerText("——Reactor Control Panel——-")
term.setCursorPos(1,4)
centerText("————–V1.1—————-")
term.setCursorPos(1,6)
print("")
centerText("on : off")
print("")
centerText("–Online statistiky–")
print("")
centerText("Power",reactors)
centerText(reactors)
write("Prikaz zde: ")
input = read()
if input == "on" then
redstone.setBundledOutput("bottom", colors.blue)
print("Reactor zapnut! Dbejte zvysene opatrnosti!")
sleep(2.0)
end
sleep(2)
if input == "off" then
redstone.setBundledOutput("bottom", colors.blue)
print("Reactor vypnut! Do uplneho vypnuti zbyva 5min")
sleep(2.0)
end
write("Copyright")
sleep(2)
shell.run("clear")
shell.run("startup")
but not working :(/>
please help me
i can't connect Bundled cable with pc, can someone edit this program for Bundled cable please I do it already third day and i can't do it.
reactors = rs.getOutput("bottom")
if reactors == false then
reactors = "Reactor zapnut"
end
if reactors == true then
reactors = "Reactors vypnut"
end
shell.run("clear")
local function centerText (text)
local x,y = term.getSize()
local x2,y2 = term.getCursorPos()
term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
print(text)
end
centerText("------------My Software-----------")
term.setCursorPos(1,3)
centerText("------Reactor Control Panel-------")
term.setCursorPos(1,4)
centerText("--------------V1.1----------------")
term.setCursorPos(1,6)
print("")
centerText("on : off")
print("")
centerText("--Online statistiky--")
print("")
centerText("Power",reactors)
centerText(reactors)
write("Prikaz zde: ")
input = read()
if input == "on" then
rs.setOutput("bottom", false)
print("Reactor zapnut! Dbejte zvysene opatrnosti!")
end
if input == "off" then
rs.setOutput("bottom",true)
print("Reactor vypnut! Do uplneho vypnuti zbyva 5min")
end
write("Copyright")
sleep(2)
shell.run("clear")
shell.run("startup")
i try it this
redstone.getBundledOutput("bottom")
if reactors == false then
reactors = "Reactor zapnut"
end
if reactors == true then
reactors = "Reactors vypnut"
end
shell.run("clear")
local function centerText (text)
local x,y = term.getSize()
local x2,y2 = term.getCursorPos()
print(text)
end
centerText("———My Software———")
term.setCursorPos(1,3)
centerText("——Reactor Control Panel——-")
term.setCursorPos(1,4)
centerText("————–V1.1—————-")
term.setCursorPos(1,6)
print("")
centerText("on : off")
print("")
centerText("–Online statistiky–")
print("")
centerText("Power",reactors)
centerText(reactors)
write("Prikaz zde: ")
input = read()
if input == "on" then
redstone.setBundledOutput("bottom", colors.blue)
print("Reactor zapnut! Dbejte zvysene opatrnosti!")
sleep(2.0)
end
sleep(2)
if input == "off" then
redstone.setBundledOutput("bottom", colors.blue)
print("Reactor vypnut! Do uplneho vypnuti zbyva 5min")
sleep(2.0)
end
write("Copyright")
sleep(2)
shell.run("clear")
shell.run("startup")
but not working :(/>
please help me