Skip to content
Anthony Headley edited this page Apr 19, 2020 · 3 revisions

Cmd(string:command, [object:undo]) : string

Breif:

Enters a command on the command line with an optional undo object.

Paramiters:

Name Description Optional
string:command A command line string
object:undo An Undo session Object

Returns:

string: "Ok" string: "Syntax Error" string: "Ilegal Command" ...

Examples:

Cmd("Fixture 1 thru 36")
local undo = CreateUndo()
Cmd("Store Cue 1", undo)
CloseUndo(undo)
Clone this wiki locally