Difference between revisions of "LavishScript:Commands"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Introduction ==
+
= Introduction =
  
== 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.
 
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 complete descriptions of LavishScript syntax, see [[LavishScript:Syntax|Syntax]].
+
For LavishScript command syntax, see [[LavishScript:Command_Syntax|Command_Syntax]].
  
== Built-in Commands ==
+
= Built-in Commands =
; Base
+
== Information ==
 +
* [[Command:Commands|Commands]]
 +
* [[Command:LSType|LSType]]
 
* [[Command:LSVersion|LSVersion]]
 
* [[Command:LSVersion|LSVersion]]
* [[Command:Test|Test]]
+
* [[Command:Scripts|Scripts]]
 +
* [[Command:TopLevelObject|TopLevelObject]]
 +
 
 +
== Aliases ==
 +
* [[Command:Alias|Alias]]
 +
 
 +
== Atoms ==
 +
* [[Command:AddAtom|AddAtom]]
 +
* [[Command:DeleteAtom|DeleteAtom]]
 +
* [[Command:ExecuteAtom|ExecuteAtom]]
 +
 
 +
== Command Execution ==
 
* [[Command:Execute|Execute]]
 
* [[Command:Execute|Execute]]
* [[Command:NoParse|NoParse]]
+
* [[Command:ExecuteFile|ExecuteFile]]
* [[Command:Commands|Commands]]
+
* [[Command:NoOp|NoOp]]
* [[Command:Alias|Alias]]
 
 
* [[Command:TimedCommand|TimedCommand]]
 
* [[Command:TimedCommand|TimedCommand]]
* [[Command:Executefile|Executefile]]
+
* [[Command:Redirect|Redirect]]
* [[Command:Arg|Arg]]
+
 
* [[Command:LSType|LSType]]
+
== Scripts ==
* [[Command:TopLevelObject|TopLevelObject]]
+
* [[Command:EndScript|EndScript]]
* [[Command:Scripts|Scripts]]
 
 
* [[Command:RunScript|RunScript]]
 
* [[Command:RunScript|RunScript]]
* [[Command:EndScript|EndScript]]
+
* [[Command:WaitScript|WaitScript]]
; File System
+
 
* [[Command:Cat|Cat]]
+
== Inside Scripts (only!) ==
* [[Command:Head|Head]]
+
 
* [[Command:Tail|Tail]]
+
=== Control Structures ===
* [[Command:Line|Line]]
+
=== If-Else ===
; Scripting (can only be used inside scripts)
+
* '''If''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]]
* [[Command:If|If]]
+
* '''Else''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]]
* [[Command:Else|Else]]
+
=== Loops ===
* [[Command:Do|Do]]
+
* '''Break''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]]
* [[Command:While|While]]
+
* '''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:Call|Call]]
 
* [[Command:Return|Return]]
 
* [[Command:Return|Return]]
* [[Command:Wait|Wait]]
+
 
* [[Command:WaitFrame|WaitFrame]]
+
=== Command Queue ===
* [[Command:Break|Break]]
+
* [[Command:ExecuteQueued|ExecuteQueued]]
* [[Command:Continue|Continue]]
+
* [[Command:FlushQueued|FlushQueued]]
* [[Command:Switch|Switch]]
 
* [[Command:Case|Case]]
 
* [[Command:EndSwitch|EndSwitch]]
 
* [[Command:Default|Default]]
 
 
* [[Command:QueueCommand|QueueCommand]]
 
* [[Command:QueueCommand|QueueCommand]]
* [[Command:ExecuteQueued|ExecuteQueued]]
+
 
* [[Command:NoOp|NoOp]]
+
=== Triggers ===
; Variables
+
* [[Command:AddTrigger|AddTrigger]]
 +
* [[Command:RemoveTrigger|RemoveTrigger]]
 +
* [[Command:WaitFor|WaitFor]]
 +
 
 +
== Variables ==
 
* [[Command:DeclareVariable|DeclareVariable]]
 
* [[Command:DeclareVariable|DeclareVariable]]
 
* [[Command:DeleteVariable|DeleteVariable]]
 
* [[Command:DeleteVariable|DeleteVariable]]
* [[Command:VarSet|VarSet]]
+
 
* [[Command:VarCalc|VarCalc]]
+
== File System ==
* [[Command:VarData|VarData]]
+
* [[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

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

Loops

Switches

Timing

Function Calls

Command Queue

Triggers

Variables

File System

Operating System

Output

Modules

Testing

Deprecated

The following commands should no longer be used