Difference between revisions of "LavishScript:Commands"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== Built-in Commands == | == Built-in Commands == | ||
− | + | === Base === | |
* [[Command:LSVersion|LSVersion]] | * [[Command:LSVersion|LSVersion]] | ||
* [[Command:Test|Test]] | * [[Command:Test|Test]] | ||
Line 24: | Line 24: | ||
* [[Command:NoOp|NoOp]] | * [[Command:NoOp|NoOp]] | ||
* [[Command:APICall|APICall]] | * [[Command:APICall|APICall]] | ||
− | + | === File System === | |
* [[Command:Cat|Cat]] | * [[Command:Cat|Cat]] | ||
* [[Command:Head|Head]] | * [[Command:Head|Head]] | ||
* [[Command:Tail|Tail]] | * [[Command:Tail|Tail]] | ||
* [[Command:Line|Line]] | * [[Command:Line|Line]] | ||
− | + | === Scripting (can only be used inside scripts) === | |
* [[Command:If|If]] | * [[Command:If|If]] | ||
* [[Command:Else|Else]] | * [[Command:Else|Else]] | ||
Line 46: | Line 46: | ||
* [[Command:QueueCommand|QueueCommand]] | * [[Command:QueueCommand|QueueCommand]] | ||
* [[Command:ExecuteQueued|ExecuteQueued]] | * [[Command:ExecuteQueued|ExecuteQueued]] | ||
− | + | * [[Command:FlushQueued|FlushQueued]] | |
+ | === Variables === | ||
* [[Command:DeclareVariable|DeclareVariable]] | * [[Command:DeclareVariable|DeclareVariable]] | ||
* [[Command:DeleteVariable|DeleteVariable]] | * [[Command:DeleteVariable|DeleteVariable]] |
Revision as of 01:37, 29 March 2005
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 complete descriptions of LavishScript syntax, see Syntax.
Built-in Commands
Base
- LSVersion
- Test
- Execute
- NoParse
- Commands
- Alias
- TimedCommand
- ExecuteFile
- Arg
- LSType
- TopLevelObject
- Scripts
- RunScript
- EndScript
- NoOp
- APICall
File System
Scripting (can only be used inside scripts)
- If
- Else
- Do
- While
- Call
- Return
- Wait
- WaitFrame
- Break
- Continue
- Switch
- Case
- EndSwitch
- Default
- QueueCommand
- ExecuteQueued
- FlushQueued