Difference between revisions of "ISInterface:QueueCommand"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | == Syntax == | ||
+ | *bool QueueCommand(char *ScriptName, char *Command) | ||
== Purpose == | == Purpose == | ||
+ | Places a command in the given script's queue for execution via ExecuteQueued | ||
== Usage == | == Usage == | ||
=== Parameters === | === Parameters === | ||
+ | *char *ScriptName | ||
+ | :'''[in]''' Name of the script | ||
+ | *char *Command | ||
+ | :'''[in]''' Command to queue | ||
+ | |||
=== Return Value === | === Return Value === | ||
+ | *bool | ||
+ | : Returns true if the function succeeded. The function will fail if the given script is not running | ||
== Examples == | == Examples == | ||
− | + | *pISInterface->QueueCommand("test","echo hello"); | |
== See Also == | == See Also == | ||
* [[ISXDK:ISInterface|ISInterface]] | * [[ISXDK:ISInterface|ISInterface]] |
Latest revision as of 21:07, 2 September 2005
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");