Platform SDK: Agent

Remove Method

Description
Removes a Command object from the Commands collection.
Syntax
agent.Characters ("CharacterID").Commands.Remove Name
Part Description
Name Required. A string value corresponding to the ID for the command.

Remarks

When a Command object is removed from the collection, it no longer appears when the character's pop-up menu is displayed or in the Commands Window when your client application is input-active.

See Also

RemoveAll method