ISInterface:QueueCommand

From Lavish Software Wiki
Revision as of 21:07, 2 September 2005 by Beefalo (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Syntax

  • bool QueueCommand(char *ScriptName, char *Command)

Purpose

Places a command in the given script's queue for execution via ExecuteQueued

Usage

Parameters

  • char *ScriptName
[in] Name of the script
  • char *Command
[in] Command to queue

Return Value

  • bool
Returns true if the function succeeded. The function will fail if the given script is not running

Examples

  • pISInterface->QueueCommand("test","echo hello");

See Also