text: var search = await matchmaking.handSelectPvpOpponent(1);
  if(search.c !== 1 || search.stat !== 'MM: accept or decline the game'){
      throw new Error('WHOOPS 1');
  }
  
  var accepting = await matchmaking.acceptPvpMatch();
  var gameroomData;
  if(accepting.c === 2 && accepting.stat === 'MM: waiting for opponent to accept the game'){
      throw new Error('WHOOPS 2');
  } else if(accepting.c === 3 && accepting.stat === 'MM: gameroom allocated'){
      gameroomData = accepting;
  } else {
      throw new Error('WHOOPS 3');
  }
  
  FunctionResponse({ address: gameroomData.address, key: gameroomData.key });