Uscript
From UBot Studio
(Difference between revisions)
(→Classes) |
|||
(23 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
==Classes== | ==Classes== | ||
− | |||
− | + | ====Table==== | |
− | + | Creates a table. | |
− | + | ====List==== | |
+ | Creates a list. | ||
+ | |||
+ | ====[[Command]]==== | ||
+ | |||
+ | Creates a new command object. | ||
+ | |||
+ | ====[[UICommand]]==== | ||
+ | Creates a new UICommand object. | ||
+ | |||
+ | ====[[Functions|Function]]==== | ||
+ | Creates a new Function object. | ||
==Functions== | ==Functions== | ||
− | + | ||
+ | ====addCommand==== | ||
+ | adds a command to uscript. | ||
+ | =====Usage===== | ||
+ | uscript.addCommand(command) | ||
+ | |||
+ | *'''command:''' a uscript.Command object |
Latest revision as of 16: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