Jump to content


Rabid_Robot's Content

There have been 1 items by Rabid_Robot (Search limited from 19-October 20)


By content type

See this member's

Sort by                Order  

#29443 Bundled cable cancelation

Posted by Rabid_Robot on 03 September 2012 - 03:30 AM in Ask a Pro

ok, so this has been annoying me for awhile.
here's my code, constructive criticism will help as well




shell.run("clear")
print("opening default interface")
sleep(1)
shell.run("clear")
print("select a command to activate")
(1)
print("command 1")
print("command 2")
print("command 3")
print("all")

input = read()

command 1 = ("c1")
command 2 = ("c2")
command 3 = ("c3")
all = ("a")

if input == "command 1" then
shell.run("clear")
print("Command 1")
print("what would you like to do")
print("start")
print("stop")

input = read()

start = "1s1"
stop = "1s2"

if input == "1s1" then
shell.run("clear")
textutils.slowPrint("Activating Command 1")
rs.setBundledOutput("back", colors.white")
sleep(1)
print("Command 1 Activated")
shell.run("clear")
end

if input == "1s2" then
shell.run("clear")
print("Command 1 Deactivated")
<---------------------------------what do i put here to stop the bundled output above?
shell.run("clear")
end
end