82 posts
Posted 27 February 2013 - 09:59 AM
How do i get a wireless turtle(of any kind) to send the program that its performing over rednet?
436 posts
Posted 27 February 2013 - 11:16 AM
Well, your going to have to code a way to do that. The easiest would probably be to convert most if not all of your programs into functions, and use the parallel api to also send/listen to rednet.
And, no, I'm not giving code away. All the tools are out there, and if you get stuck with code you've already written, we'll help.
1190 posts
Location
RHIT
Posted 27 February 2013 - 11:27 AM
I don't think the OP is asking us to write out a program for him: just to point him in the right direction.
You want to send the currently running program over rednet? Use something like shell.getRunningProgram() (check it out on the wiki).
2005 posts
Posted 28 February 2013 - 03:36 AM
…
Does this have to be in an API function that might be dealing with different programs?
I mean, couldn't you just put a line in your program that sent a fixed rednet message indicating that the program was running?
82 posts
Posted 28 February 2013 - 06:02 AM
Bubba has got it. Is that all i would need? Do i need over code?