Uscript
From UBot Studio
(Difference between revisions)
(→Classes) |
|||
| (18 intermediate revisions by one user not shown) | |||
| Line 3: | Line 3: | ||
==Classes== | ==Classes== | ||
| − | ====Table | + | ====Table==== |
| − | + | Creates a table. | |
| − | ====List | + | ====List==== |
| − | + | Creates a list. | |
| − | ====[[Command | + | ====[[Command]]==== |
Creates a new command object. | Creates a new command object. | ||
| − | ====[[ | + | ====[[UICommand]]==== |
| − | + | Creates a new UICommand object. | |
| − | ==[[Function]]== | + | ====[[Functions|Function]]==== |
| + | Creates a new Function object. | ||
| − | == | + | ==Functions== |
| + | ====addCommand==== | ||
adds a command to uscript. | adds a command to uscript. | ||
| + | =====Usage===== | ||
| + | uscript.addCommand(command) | ||
| + | |||
| + | *'''command:''' a uscript.Command object | ||
Latest revision as of 15:06, 10 January 2016
This api fixture provides access to UBot studio’s internal scripting engine.
Contents |
[edit] Classes
[edit] Table
Creates a table.
[edit] List
Creates a list.
[edit] Command
Creates a new command object.
[edit] UICommand
Creates a new UICommand object.
[edit] Function
Creates a new Function object.
[edit] Functions
[edit] addCommand
adds a command to uscript.
[edit] Usage
uscript.addCommand(command)
- command: a uscript.Command object