CommandManager.listNames Member

Gets a sorted Array of command names which match.

Syntax

object.listNames(partialName, flags);

Arguments

ArgumentSummary
partialName
flags

Returns

Remarks

listNames operates identically to list, except that only command names are returned, not CommandRecord objects.

See Also

Source Code

function cmgr_listnames (partialName, flags)
{
var cmds = this.list(partialName, flags);
var cmdNames = new Array();
for (var c in cmds)
cmdNames.push (cmds[c].name);
cmdNames.sort();
return cmdNames;
}