so ur after a command which runs another thread/program which monitors whats going on and changes your friendly name accordingly?
That could very possibly be done although you would have to ensure that after parsing the command and running the other thread that control was returned to msgplsu, otherwise it would freeze