7 posts
Posted 29 February 2012 - 12:30 PM
Hi there Forum!
I have Computercraft 1.3 and i want to send a command to my turtle, which it executes. not a program, a command.
Is there anyway i can handle this?
Thank you!
715 posts
Posted 29 February 2012 - 12:37 PM
473 posts
Location
Poland
Posted 29 February 2012 - 12:48 PM
Or there's software that handles it all for you. Just look for it in the program library.
715 posts
Posted 29 February 2012 - 12:58 PM
Or there's software that handles it all for you. Just look for it in the program library.
Can you refer to one such program?
I'm just asking because I looked for one that sends arbitrary commands and not just predefined ones, but didn't find any.
But now that you said there is one, I'm curious to know. :o/>/>
473 posts
Location
Poland
Posted 29 February 2012 - 01:04 PM
Try my API, it has autoUpdate (the name's a bit misleading :o/>/> ) function that can handle rednet commands from a specified terminal, it even does that in the background, while the turtle can do virtually anything.
715 posts
Posted 29 February 2012 - 01:15 PM
Ah, that is explains it, during my search through all the wireless prorgams I only saw sendCommand in yours and didn't see any processing of commands there.
But now I see you're receiving the command through some other functions and finally loadstring it in your lua() function.
I was wondering when I would see this being implemented instead of only a set of predefined functions. Nice work. :o/>/>
473 posts
Location
Poland
Posted 29 February 2012 - 01:22 PM
i suppose that i haven't phrased that clear enough in my changelog :o/>/>