Advertisement
Slowstone72

Simple Node.js MPP Bot template.txt

Dec 20th, 2024
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.53 KB | Software | 0 0
  1. /* Ancient code published for archival purposes. May or may not work or be relevant.
  2. Feel free to do whatever you want with this, if anything.
  3. Archive from 2017-10-07 - contents may be older. */
  4.  
  5. Client = require("Client.js");
  6. website = 'www.multiplayerpiano.com';
  7. port = '443';
  8. clienttests = {};
  9. gClient = new Client("ws://"+website+':'+port);
  10. gClient.start();
  11. gClient.setChannel(room);
  12. console.log('Connected.');
  13. errcount = 0;
  14.  
  15. process.on('uncaughtException', function(){errcount++;console.log('Error (Count:' + errcount+ ')'); });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement