Difference between revisions of "LavishScript:Commands"

From Lavish Software Wiki
Jump to navigation Jump to search
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 complete descriptions of LavishScript syntax, see [[LavishScript:Syntax|Syntax]].
  
== Built-in Commands ==
+
= Built-in Commands =
=== Information ===
+
== Information ==
 
* [[Command:Commands|Commands]]
 
* [[Command:Commands|Commands]]
 
* [[Command:LSType|LSType]]
 
* [[Command:LSType|LSType]]
Line 14: Line 14:
 
* [[Command:TopLevelObject|TopLevelObject]]
 
* [[Command:TopLevelObject|TopLevelObject]]
  
=== Aliases ===
+
== Aliases ==
 
* [[Command:Alias|Alias]]
 
* [[Command:Alias|Alias]]
  
=== Command Execution ===
+
== Command Execution ==
 
* [[Command:Execute|Execute]]
 
* [[Command:Execute|Execute]]
 
* [[Command:ExecuteFile|ExecuteFile]]
 
* [[Command:ExecuteFile|ExecuteFile]]
Line 24: Line 24:
 
* [[Command:TimedCommand|TimedCommand]]
 
* [[Command:TimedCommand|TimedCommand]]
  
=== Scripts ===
+
== Scripts ==
 
* [[Command:EndScript|EndScript]]
 
* [[Command:EndScript|EndScript]]
 
* [[Command:RunScript|RunScript]]
 
* [[Command:RunScript|RunScript]]
  
=== Inside Scripts (only!) ===
+
== Inside Scripts (only!) ==
==== Timing ====
+
=== Timing ===
 
* [[Command:Wait|Wait]]
 
* [[Command:Wait|Wait]]
 
* [[Command:WaitFrame|WaitFrame]]
 
* [[Command:WaitFrame|WaitFrame]]
 
* [[Command:Turbo|Turbo]]
 
* [[Command:Turbo|Turbo]]
  
==== If-Else ====
+
=== If-Else ===
 
* [[Command:If|If]]
 
* [[Command:If|If]]
 
* [[Command:Else|Else]]
 
* [[Command:Else|Else]]
==== Loops ====
+
=== Loops ===
 
* [[Command:Do|Do]]
 
* [[Command:Do|Do]]
 
* [[Command:While|While]]
 
* [[Command:While|While]]
 
* [[Command:Break|Break]]
 
* [[Command:Break|Break]]
 
* [[Command:Continue|Continue]]
 
* [[Command:Continue|Continue]]
==== Switches ====
+
=== Switches ===
 
* [[Command:Switch|Switch]]
 
* [[Command:Switch|Switch]]
 
* [[Command:Case|Case]]
 
* [[Command:Case|Case]]
Line 49: Line 49:
 
* [[Command:Break|Break]]
 
* [[Command:Break|Break]]
  
==== Function Calls ====
+
=== Function Calls ===
 
* [[Command:Call|Call]]
 
* [[Command:Call|Call]]
 
* [[Command:Return|Return]]
 
* [[Command:Return|Return]]
==== Command Queue ====
+
=== Command Queue ===
 
* [[Command:QueueCommand|QueueCommand]]
 
* [[Command:QueueCommand|QueueCommand]]
 
* [[Command:ExecuteQueued|ExecuteQueued]]
 
* [[Command:ExecuteQueued|ExecuteQueued]]
 
* [[Command:FlushQueued|FlushQueued]]
 
* [[Command:FlushQueued|FlushQueued]]
  
=== Variables ===
+
== Variables ==
 
* [[Command:DeclareVariable|DeclareVariable]]
 
* [[Command:DeclareVariable|DeclareVariable]]
 
* [[Command:DeleteVariable|DeleteVariable]]
 
* [[Command:DeleteVariable|DeleteVariable]]
Line 64: Line 64:
 
* [[Command:VarData|VarData]]
 
* [[Command:VarData|VarData]]
  
=== File System ===
+
== File System ==
 
* [[Command:Cat|Cat]]
 
* [[Command:Cat|Cat]]
 
* [[Command:Head|Head]]
 
* [[Command:Head|Head]]
Line 70: Line 70:
 
* [[Command:Line|Line]]
 
* [[Command:Line|Line]]
  
=== API ===
+
== API ==
 
* [[Command:APICall|APICall]]
 
* [[Command:APICall|APICall]]
  
=== Modules ===
+
== Modules ==
 
* [[Command:Module|Module]]
 
* [[Command:Module|Module]]
  
=== Testing ===
+
== Testing ==
 
* [[Command:Arg|Arg]]
 
* [[Command:Arg|Arg]]
 
* [[Command:Test|Test]]
 
* [[Command:Test|Test]]

Revision as of 04:54, 2 April 2005

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 complete descriptions of LavishScript syntax, see Syntax.

Built-in Commands

Information

Aliases

Command Execution

Scripts

Inside Scripts (only!)

Timing

If-Else

Loops

Switches

Function Calls

Command Queue

Variables

File System

API

Modules

Testing