Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. 1. if (typeof(done) === "undefined") {
  2. 2. var uname = "";
  3. 3. function updateName(name) {
  4. 4. MPP.client.sendArray([{
  5. 5. m: "userset",
  6. 6. set: {
  7. 7. name: name
  8. 8. }
  9. 9. }])
  10. 10. };
  11. 11. var nameList = ["no u 1", "no u 2", "no u 3"]
  12. 12. var foo = setInterval(function() {
  13. 13. var newName = nameList[Math.floor(Math.random() * nameList.length)];
  14. 14. updateName(`${uname} ${newName}`)
  15. 15. }, 1000);
  16. 16. MPP.chat.send("");
  17. 17. } else {
  18. 18. console.log("Script has around a mole of errors. Good luck.");
  19. 19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement