Uscript

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
 
'''addCommand(command):''' adds a command to uscript.
 
'''addCommand(command):''' adds a command to uscript.
  
'''==[[Command()]]=='''  
+
'''[[Command()]]:''' Creates a new command object.
  
Creates a new command object.
+
'''[[UI Command]]:''' Similar to command
 
+
== 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:18, 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.

UI Command: Similar to command

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox