Difference between revisions of "LavishScript:Commands"
Jump to navigation
Jump to search
m |
|||
(21 intermediate revisions by 4 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 16: | Line 16: | ||
== Aliases == | == Aliases == | ||
* [[Command:Alias|Alias]] | * [[Command:Alias|Alias]] | ||
+ | |||
+ | == Atoms == | ||
+ | * [[Command:AddAtom|AddAtom]] | ||
+ | * [[Command:DeleteAtom|DeleteAtom]] | ||
+ | * [[Command:ExecuteAtom|ExecuteAtom]] | ||
== Command Execution == | == Command Execution == | ||
Line 21: | Line 26: | ||
* [[Command:ExecuteFile|ExecuteFile]] | * [[Command:ExecuteFile|ExecuteFile]] | ||
* [[Command:NoOp|NoOp]] | * [[Command:NoOp|NoOp]] | ||
− | |||
* [[Command:TimedCommand|TimedCommand]] | * [[Command:TimedCommand|TimedCommand]] | ||
+ | * [[Command:Redirect|Redirect]] | ||
== Scripts == | == Scripts == | ||
* [[Command:EndScript|EndScript]] | * [[Command:EndScript|EndScript]] | ||
* [[Command:RunScript|RunScript]] | * [[Command:RunScript|RunScript]] | ||
+ | * [[Command:WaitScript|WaitScript]] | ||
== Inside Scripts (only!) == | == 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 === | === Timing === | ||
* [[Command:Turbo|Turbo]] | * [[Command:Turbo|Turbo]] | ||
* [[Command:Wait|Wait]] | * [[Command:Wait|Wait]] | ||
* [[Command:WaitFrame|WaitFrame]] | * [[Command:WaitFrame|WaitFrame]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Function Calls === | === Function Calls === | ||
* [[Command:Call|Call]] | * [[Command:Call|Call]] | ||
* [[Command:Return|Return]] | * [[Command:Return|Return]] | ||
+ | |||
=== Command Queue === | === Command Queue === | ||
* [[Command:ExecuteQueued|ExecuteQueued]] | * [[Command:ExecuteQueued|ExecuteQueued]] | ||
* [[Command:FlushQueued|FlushQueued]] | * [[Command:FlushQueued|FlushQueued]] | ||
* [[Command:QueueCommand|QueueCommand]] | * [[Command:QueueCommand|QueueCommand]] | ||
+ | |||
+ | === Triggers === | ||
+ | * [[Command:AddTrigger|AddTrigger]] | ||
+ | * [[Command:RemoveTrigger|RemoveTrigger]] | ||
+ | * [[Command:WaitFor|WaitFor]] | ||
== Variables == | == Variables == | ||
* [[Command:DeclareVariable|DeclareVariable]] | * [[Command:DeclareVariable|DeclareVariable]] | ||
* [[Command:DeleteVariable|DeleteVariable]] | * [[Command:DeleteVariable|DeleteVariable]] | ||
− | |||
− | |||
− | |||
== File System == | == File System == | ||
* [[Command:Cat|Cat]] | * [[Command:Cat|Cat]] | ||
+ | * [[Command:cd|cd]] | ||
* [[Command:Head|Head]] | * [[Command:Head|Head]] | ||
+ | * [[Command:mkdir|mkdir]] | ||
* [[Command:Tail|Tail]] | * [[Command:Tail|Tail]] | ||
* [[Command:Line|Line]] | * [[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 == | == Modules == | ||
Line 77: | 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]] |
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