Difference between revisions of "LavishScript:Commands"

From Lavish Software Wiki
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 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 =
Line 26: Line 26:
 
* [[Command:ExecuteFile|ExecuteFile]]
 
* [[Command:ExecuteFile|ExecuteFile]]
 
* [[Command:NoOp|NoOp]]
 
* [[Command:NoOp|NoOp]]
* [[Command:NoParse|NoParse]]
 
 
* [[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:Script Development#Control Structures|LavishScript Control Structures]]
+
* '''Break''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]]
* '''Continue''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]]
+
* '''Continue''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]]
* '''Do''' see [[LavishScript:Script Development#Control Structures|LavishScript Control Structures]]
+
* '''Do''' see [[LavishScript:Language_and_Engine_Overview#control_structures|LavishScript Control Structures]]
* '''While''' see [[LavishScript:Script Development#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 ===
 
=== 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]]
  
== API ==
+
== 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

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