Mplay session name

Explanation
mplay_session_name returns the name of the session with the given index. The sessions ID's range from 0 to the total number of sessions minus 1. Before a name can be found, must be called.

Example
This script stores all the session names in an array: var num, name; num = mplay_session_find; // Discovers all open sessions // Start the loop for (i = 0; i < num; i += 1) {  name[i] = mplay_session_name(i); }