Put check for players in the script: //Script: gms_session_find(type) //Returns a session_id for the given type, if it exists, otherwise this script will return -1 for(i = 0; i < gms_session_count(); i += 1) { //Check whether the session is of the right type if(gms_session_type(i) == argument0) && gms_session_player_count(gms_session_id(i)) < 2 return gms_session_id(i); } return -1;
and
show_message("Logged In") var session = gms_session_find_type_(1); if session { gms_session_join(session); show_message("Found A Game. Joining") if gms_info_isconnected() { room_goto_next() } else { gms_connect() room_goto_next() } } else { gms_session_create(1) show_message("None Found. Created One") room_goto_next() }