Skip to content



/docommand command


Executes command, parsing MQ2Data first. This is useful for executing commands using MQ2Data that do not parse immediately, as well as executing a command stored in a variable.


  • A simple example that echoes "sitting" if sitting, and "not sitting" if not
/docommand ${If[${Me.Sitting},/echo sitting,/echo not sitting]}
  • A simple example that activates AA 177 if you have a target, and echoes "no target" if not.
/docommand ${If[${Target.ID},/alt activate 177,/echo No Target]}