Advertisement
Guest User

Untitled

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