Posted 24 March 2013 - 05:05 PM
I am trying to use this program to control a Mob Spawner and have tried for the past 2 days to get it to work but it hasn't.
The script starts by listing the available mob options to start spawning and then reads the user input to control that mob spawn. The computer should charge a cable in a bundled cable, which is then inverted, to allow a mob spawner to start spawning mobs.For some reason however the computer will not output a charge on the bundled cable. Here is my script:
term.clear()
print("[1] Skeletons ")
print("[2] Blazes ")
print("[3] Angry Zombies ")
print("[4] Restart")
Input = read()
if Input == "1" then
term.clear()
rs.setBundledOutput("back", colours.white)
elseif Input == "2" then
term.clear()
rs.setBundledOutput("back", colours.blue)
elseif Input == "3" then
term.clear()
rs.setBundledOutput("back", colours.red
term.clear()
elseif Input == "4" then
os.shutdown()
end
Any ideas?
Skeletons > White
Blazes > Blue
Zombies > Red
I'm using computer craft in the new FTB Ultimate pack.
The script starts by listing the available mob options to start spawning and then reads the user input to control that mob spawn. The computer should charge a cable in a bundled cable, which is then inverted, to allow a mob spawner to start spawning mobs.For some reason however the computer will not output a charge on the bundled cable. Here is my script:
term.clear()
print("[1] Skeletons ")
print("[2] Blazes ")
print("[3] Angry Zombies ")
print("[4] Restart")
Input = read()
if Input == "1" then
term.clear()
rs.setBundledOutput("back", colours.white)
elseif Input == "2" then
term.clear()
rs.setBundledOutput("back", colours.blue)
elseif Input == "3" then
term.clear()
rs.setBundledOutput("back", colours.red
term.clear()
elseif Input == "4" then
os.shutdown()
end
Any ideas?
Skeletons > White
Blazes > Blue
Zombies > Red
I'm using computer craft in the new FTB Ultimate pack.