Advertisement
AEAEAEAEarray

MPP roominfo command

Aug 19th, 2021
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var roominfo = function() {
  2.     let owner = MPP.client.channel.crown.userId;
  3.     mppChatSend("Room name: " +MPP.client.channel._id + ", Total players: " + MPP.client.channel.count + "/" + MPP.client.channel.settings.limit + ", Room time passed: " + MPP.client.channel.crown.time);
  4.     setTimeout(function() {
  5.     mppChatSend("Room Onwer: " + MPP.client.ppl[owner].name + " (" + MPP.client.channel.crown.userId + ") , Owner mouse's total position- Start Position: x:" + MPP.client.channel.crown.startPos.x + ", y:" + MPP.client.channel.crown.startPos.y + ", End position: x:" + MPP.client.channel.crown.endPos.x+", y:" + MPP.client.channel.crown.endPos.y);
  6.     }, 1000);
  7.     setTimeout(function() {
  8.     mppChatSend("Room settings- Inner color: " + MPP.client.channel.settings.color + ", Outer color: " + MPP.client.channel.settings.color2 + ", Public chat: " + MPP.client.channel.settings.chat + ", Public visible: " + MPP.client.channel.settings.visible);
  9.     }, 2000);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement