hmmm... how to detect if a loon has been given an order without the aid of the radio chat... usually you just watch him, and if he runs somewhere, or shoots someone, that's how you tell.
how to do it with scripting? tricky. there is the
unitready command. as it states, it can be used to halt a script until a unit has finished performing some command, like this
unit_name domove getpos player
@unitready unit_name
hint "Hello Sarge, Private Benjamin reporting for duty!"
one way to implement this would be to have a looping script which checks if the unit is ready. if it is, it hasn't been given an order. if it isn't ready, it's in the middle of doing something. you then skip to the part of the script which deals with the command. however, finding out
what that command is... i'm afraid i'm stumped on that one... :-\