Gaming
 

MCom.addSlashSuperCom

From WoWWiki

This article is a part of the documentation of the MCom function library

 --[[
   addSlashSuperCom ( [string/{string, ...}] command, string comaction, number comsticky, string comhelp )
     This registers a slash command that will have sub commands in it.  See addSlashSubCom for more details on sub commands.
     
     If the slash command is already registered with MCom, nothing will happen.
   
   Args:
     command - The slash command(s) you want to register. Ex: "/command". This can be a string or a table of strings if you
               want more than one command.
 
   Optional: 
     comaction - The action to perform, see Sky documentation for further details
     comsticky - Whether the command is sticky or not(1 or 0), see Sky documentation for further details
     comhelp - What message to display as help in Sky for this command, see Sky documentation for further details
     extrahelp - A table of extra help messages to display, each line is printed on a separate line
 ]]--