Posted 03 September 2012 - 04:30 AM
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
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