Uscript
From UBot Studio
(Difference between revisions)
(Created page with "This api fixture provides access to UBot studio’s internal scripting engine. ---- '''Table():''' creates a table '''List():''' creates a list '''addCommand(command):'''...") |
(→Classes) |
||
(31 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
This api fixture provides access to UBot studio’s internal scripting engine. | This api fixture provides access to UBot studio’s internal scripting engine. | ||
+ | ==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== | ||
+ | |||
+ | ====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