Mplay session join

Example
The following code joins the first session that allows it:

var num; num = mplay_session_find; // Discovers all open sessions // Start the loop for (i = 0; i < num; i += 1) {  if ((mplay_session_join(i,'John Doe')) break; }