Difference between revisions of "LavishScript:Commands"
Jump to navigation
Jump to search
(10 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
In simplistic terms, commands are used simply by typing the name of the command, followed by any ''parameters'' to the command. Consider the EverQuest 1 command "/who". "/who" is the name of the command, but parameters can be added to the command to give more specific information, such as "/who all friend" -- "all friend" would be the parameters. | In simplistic terms, commands are used simply by typing the name of the command, followed by any ''parameters'' to the command. Consider the EverQuest 1 command "/who". "/who" is the name of the command, but parameters can be added to the command to give more specific information, such as "/who all friend" -- "all friend" would be the parameters. | ||
− | For | + | For LavishScript command syntax, see [[LavishScript:Command_Syntax|Command_Syntax]]. |
= Built-in Commands = | = Built-in Commands = | ||
Line 26: | Line 26: | ||
* [[Command:ExecuteFile|ExecuteFile]] | * [[Command:ExecuteFile|ExecuteFile]] | ||
* [[Command:NoOp|NoOp]] | * [[Command:NoOp|NoOp]] | ||
− | |||
* [[Command:TimedCommand|TimedCommand]] | * [[Command:TimedCommand|TimedCommand]] | ||
* [[Command:Redirect|Redirect]] | * [[Command:Redirect|Redirect]] | ||
Line 42: | Line 41: | ||
* '''Else''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]] | * '''Else''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]] | ||
=== Loops === | === Loops === | ||
− | * '''Break''' see [[LavishScript: | + | * '''Break''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]] |
− | * '''Continue''' see [[LavishScript: | + | * '''Continue''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]] |
− | * '''Do''' see [[LavishScript: | + | * '''Do''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]] |
− | * '''While''' see [[LavishScript: | + | * '''While''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]] |
+ | * '''For''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]] | ||
+ | |||
=== Switches === | === Switches === | ||
* '''Break''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]] | * '''Break''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]] | ||
Line 65: | Line 66: | ||
* [[Command:FlushQueued|FlushQueued]] | * [[Command:FlushQueued|FlushQueued]] | ||
* [[Command:QueueCommand|QueueCommand]] | * [[Command:QueueCommand|QueueCommand]] | ||
+ | |||
+ | === Triggers === | ||
+ | * [[Command:AddTrigger|AddTrigger]] | ||
+ | * [[Command:RemoveTrigger|RemoveTrigger]] | ||
+ | * [[Command:WaitFor|WaitFor]] | ||
== Variables == | == Variables == | ||
Line 78: | Line 84: | ||
* [[Command:Line|Line]] | * [[Command:Line|Line]] | ||
* [[Command:OSExecute|OSExecute]] | * [[Command:OSExecute|OSExecute]] | ||
+ | * [[Command:rename|rename]] | ||
+ | * [[Command:rm|rm]] | ||
+ | * [[Command:rmdir|rmdir]] | ||
+ | * [[Command:cp|cp]] | ||
+ | |||
+ | == Operating System == | ||
+ | * [[Command:Processor|Processor]] | ||
+ | |||
+ | == Output == | ||
+ | * [[Command:Echo|Echo]] | ||
+ | * [[Command:Squelch|Squelch]] | ||
== Modules == | == Modules == | ||
Line 86: | Line 103: | ||
* [[Command:Test|Test]] | * [[Command:Test|Test]] | ||
− | == | + | == Deprecated == |
+ | ; The following commands should no longer be used | ||
* [[Command:APICall|APICall]] | * [[Command:APICall|APICall]] | ||
[[Category:LavishScript]] | [[Category:LavishScript]] |
Latest revision as of 14:29, 22 August 2010
Contents
Introduction
Usage
In simplistic terms, commands are used simply by typing the name of the command, followed by any parameters to the command. Consider the EverQuest 1 command "/who". "/who" is the name of the command, but parameters can be added to the command to give more specific information, such as "/who all friend" -- "all friend" would be the parameters.
For LavishScript command syntax, see Command_Syntax.
Built-in Commands
Information
Aliases
Atoms
Command Execution
Scripts
Inside Scripts (only!)
Control Structures
If-Else
- If see LavishScript Control Structures
- Else see LavishScript Control Structures
Loops
- Break see LavishScript Control Structures
- Continue see LavishScript Control Structures
- Do see LavishScript Control Structures
- While see LavishScript Control Structures
- For see LavishScript Control Structures
Switches
- Break see LavishScript Control Structures
- Case see LavishScript Control Structures
- Default see LavishScript Control Structures
- Switch see LavishScript Control Structures
Timing
Function Calls
Command Queue
Triggers
Variables
File System
Operating System
Output
Modules
Testing
Deprecated
- The following commands should no longer be used