Mplay message receive

Example
//Create a loop to receive all messages in the begin step event while(mplay_message_receive(0)) {  switch(mplay_message_id) {    //Handle messages } }