MPP Beginner Bot Script

Home   »   MPP Beginner Bot Script

//by karol.


MPP.client.on('a', function(msg) {
  if (msg.a === '/help') { //your help command
    MPP.chat.send("available commands are: /command, /command2");
  }
    
  
  
  
  //Simply duplicate the code below, and make your own commands. 
  
      if (msg.a === '/command') {
    MPP.chat.send("output of command.");
  }
  
        if (msg.a === '/command2') {
    MPP.chat.send("output of command2.");
  }

});//this is neccesary to work. don't remove it unless you know what your doing.

Leave a Reply

Your email address will not be published. Required fields are marked *