Uscript
From UBot Studio
(Difference between revisions)
(→Functions) |
(→Classes) |
||
(7 intermediate revisions by one user not shown) | |||
Line 5: | Line 5: | ||
====Table==== | ====Table==== | ||
− | + | Creates a table. | |
====List==== | ====List==== | ||
− | + | Creates a list. | |
− | ====[[ | + | ====[[Command]]==== |
Creates a new command object. | Creates a new command object. | ||
− | ====[[ | + | ====[[UICommand]]==== |
− | + | Creates a new UICommand object. | |
====[[Functions|Function]]==== | ====[[Functions|Function]]==== | ||
− | + | Creates a new Function object. | |
==Functions== | ==Functions== | ||
Line 27: | Line 27: | ||
=====Usage===== | =====Usage===== | ||
uscript.addCommand(command) | 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