Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (typeof(done) === "undefined") {
- var uname = "";
- function updateName(name) {
- MPP.client.sendArray([{
- m: "userset",
- set: {
- name: name
- }
- }])
- };
- var nameList = ["exname1", "exname2", "exname3"]
- var foo = setInterval(function() {
- var newName = nameList[Math.floor(Math.random() * nameList.length)];
- updateName(`${uname} ${newName}`)
- }, 1000);
- MPP.chat.send("");
- } else {
- console.log("Script has around a mole of errors. Good luck.");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement