Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MPP.client.on("a", function (msg) {
- var args = msg.a.split(" ");
- var cmd = args[0].toLowerCase();
- args = args.slice(1);
- var sendChat = function(msg) { MPP.chat.send(msg) };
- var name = msg.p.name;
- // add commands here, they must be in the same format. ex: ["cmd", "yourcommand", "anothercommand"]
- var commands = ["help", "test", "me","report","family"];
- if (cmd === "/r") {
- sendChat("/stop");
- } if (cmd === "/rr") {
- sendChat("/stop being a faggot");
- } if (cmd === "/") {
- sendChat("/stop faggot");
- }
- if (cmd === "/p") {
- sendChat("/stop");
- } if (cmd === "/play") {
- sendChat("/stop");
- } if (cmd === "/restart") {
- sendChat("/stop and learn an instrument you worthless faggot");
- } if (cmd === "/l") {
- sendChat("/stop and take a moment to drink windex");
- } if (cmd === "/random") {
- sendChat("/stop and learn an instrument you worthless faggot");
- } if (cmd === "!report") {
- if (args.length == 0) {
- sendChat( name + " reported air lol");
- } else {
- sendChat("Thanks " + name + ", Your reported has been submit, The FBI are on their way");
- } }
- if (cmd === "!me") {
- if (args.length == 0) {
- sendChat(name + " sucks penis lol");
- } else {
- sendChat("*" + name + " " + msg.a.substring(3).trim() + "*");
- }
- }
- if (cmd === "!help") {
- var cmds = "!" + commands[0];
- for (i = 1; i < commands.length; i++) {
- cmds += ", !" + commands[i];
- }
- sendChat("Commands are: " + cmds);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement