Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 = ["no u 1", "no u 2", "no u 3"]
- 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