Uscript
From UBot Studio
(Difference between revisions)
Line 11: | Line 11: | ||
'''[[Command()]]:''' Creates a new command object. | '''[[Command()]]:''' Creates a new command object. | ||
+ | |||
+ | == UICommand == | ||
+ | |||
+ | The same as Command and includes: | ||
+ | |||
+ | ====getHTML==== | ||
+ | |||
+ | Should be set to a function that returns html for the command’s ui |
Revision as of 15:15, 5 January 2016
This api fixture provides access to UBot studio’s internal scripting engine.
Table(): creates a table
List(): creates a list
addCommand(command): adds a command to uscript.
Command(): Creates a new command object.
UICommand
The same as Command and includes:
getHTML
Should be set to a function that returns html for the command’s ui