The general idea is to have messages, and be able to put special tags like $o for the "game" to identify them and execute special actions.