Posted 26 September 2012 - 12:59 AM
Hey guys, I have a program to run the alongtimeago program when it receives a rednet message from the control terminal. The problem is i need a command so that when the movie finishes, the Terminal prints a goodbye message, and reboots. If anyone can help, I'll post my code below! Thanks! :P/>/>
rednet.open ("back")
while true do
e, id, msg = os.pullEvent()
if e == "rednet_message" and id == "19" and msg == "Play" then
shell.run ("monitor", "back", "secret/alongtimeago")
end
end
rednet.close ("back")