can someone tell me the command so I can make programs like:
'program 19' or
'build house 5 3 10'
instead of having to rely on input = read()
?
I've been hunting this down forever and haven't figured it out or found it yet, so it would be nice if someone could tell me, if nobody can then thats okay, thanks for your time.
since the site wont let me post this question unless i got something to help fix the problem, ill put a code that would use it that currently uses the read method.
input = read()
if input == "right" then
for k, v in ipairs(peripheral.getMethods(input)) do
print(k,", ",v)
end
I think that code would be cooler if I could do 'scan right' instead of 'scan' 'right'