Difference between revisions of "LavishScript:Commands"
Jump to navigation
Jump to search
(39 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
= Usage = | = 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 [[LavishScript:Command_Syntax|Command_Syntax]]. | ||
= Built-in Commands = | = Built-in Commands = | ||
− | + | == Information == | |
− | * | + | * [[Command:Commands|Commands]] |
− | * | + | * [[Command:LSType|LSType]] |
− | * | + | * [[Command:LSVersion|LSVersion]] |
− | * | + | * [[Command:Scripts|Scripts]] |
− | * Alias | + | * [[Command:TopLevelObject|TopLevelObject]] |
− | * | + | |
− | * | + | == Aliases == |
− | * | + | * [[Command:Alias|Alias]] |
− | + | ||
− | + | == Atoms == | |
− | * | + | * [[Command:AddAtom|AddAtom]] |
− | * | + | * [[Command:DeleteAtom|DeleteAtom]] |
− | * | + | * [[Command:ExecuteAtom|ExecuteAtom]] |
− | + | ||
− | * | + | == Command Execution == |
− | * | + | * [[Command:Execute|Execute]] |
− | + | * [[Command:ExecuteFile|ExecuteFile]] | |
− | + | * [[Command:NoOp|NoOp]] | |
− | * | + | * [[Command:TimedCommand|TimedCommand]] |
− | * RunScript | + | * [[Command:Redirect|Redirect]] |
− | * | + | |
− | * If | + | == Scripts == |
− | * Else | + | * [[Command:EndScript|EndScript]] |
− | * Do | + | * [[Command:RunScript|RunScript]] |
− | * While | + | * [[Command:WaitScript|WaitScript]] |
− | * Call | + | |
− | * Return | + | == Inside Scripts (only!) == |
− | * | + | |
− | * | + | === Control Structures === |
− | * | + | === If-Else === |
− | * | + | * '''If''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]] |
− | * | + | * '''Else''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]] |
− | * | + | === Loops === |
− | * | + | * '''Break''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]] |
− | * | + | * '''Continue''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]] |
− | * | + | * '''Do''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]] |
− | * | + | * '''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 === | ||
+ | * '''Break''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]] | ||
+ | * '''Case''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]] | ||
+ | * '''Default''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]] | ||
+ | * '''Switch''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]] | ||
+ | |||
+ | === Timing === | ||
+ | * [[Command:Turbo|Turbo]] | ||
+ | * [[Command:Wait|Wait]] | ||
+ | * [[Command:WaitFrame|WaitFrame]] | ||
+ | |||
+ | === Function Calls === | ||
+ | * [[Command:Call|Call]] | ||
+ | * [[Command:Return|Return]] | ||
+ | |||
+ | === Command Queue === | ||
+ | * [[Command:ExecuteQueued|ExecuteQueued]] | ||
+ | * [[Command:FlushQueued|FlushQueued]] | ||
+ | * [[Command:QueueCommand|QueueCommand]] | ||
+ | |||
+ | === Triggers === | ||
+ | * [[Command:AddTrigger|AddTrigger]] | ||
+ | * [[Command:RemoveTrigger|RemoveTrigger]] | ||
+ | * [[Command:WaitFor|WaitFor]] | ||
+ | |||
+ | == Variables == | ||
+ | * [[Command:DeclareVariable|DeclareVariable]] | ||
+ | * [[Command:DeleteVariable|DeleteVariable]] | ||
+ | |||
+ | == File System == | ||
+ | * [[Command:Cat|Cat]] | ||
+ | * [[Command:cd|cd]] | ||
+ | * [[Command:Head|Head]] | ||
+ | * [[Command:mkdir|mkdir]] | ||
+ | * [[Command:Tail|Tail]] | ||
+ | * [[Command:Line|Line]] | ||
+ | * [[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 == | ||
+ | * [[Command:Module|Module]] | ||
+ | |||
+ | == Testing == | ||
+ | * [[Command:Arg|Arg]] | ||
+ | * [[Command:Test|Test]] | ||
+ | |||
+ | == Deprecated == | ||
+ | ; The following commands should no longer be used | ||
+ | * [[Command:APICall|APICall]] | ||
+ | |||
+ | [[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