Uscript

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(UI Command)
(Classes)
 
(20 intermediate revisions by one user not shown)
Line 3: Line 3:
 
==Classes==
 
==Classes==
  
====Table()====  
+
====Table====  
  
creates a table
+
Creates a table.
  
====List()====
+
====List====
  
creates a list
+
Creates a list.
  
 
+
====[[Command]]====
====[[Command()]]====
+
  
 
Creates a new command object.
 
Creates a new command object.
  
 +
====[[UICommand]]====
 +
Creates a new UICommand object.
  
====[[UI Command]]====
+
====[[Functions|Function]]====
Similar to command
+
Creates a new Function object.
  
==[[Functions]]==
+
==Functions==
  
====addCommand(command)====
+
====addCommand====
 +
adds a command to uscript.
 +
=====Usage=====
 +
uscript.addCommand(command)
  
adds a command to uscript.
+
*'''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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox