Posted 01 February 2014 - 08:41 PM
Im trying to enter coords into the icbm launcher but the issue is if i did icbm.setTarget(a,b,c) and i enter coords using read() it would work for it but id get invaild parameters.
term.clear()
term.setCursorPos(1,1)
write("X:")
a = read()
term.clear()
term.setCursorPos(1,1)
write("Y:")
b = read()
term.clear()
term.setCursorPos(1,1)
write("Z:")
c = read()
print(a,b,c)
icbm = peripheral.wrap("back")
while true do
icbm.setTarget(a, b, c)
break
end