Run Python

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
Run Python is a [[Developer Commands|Developer Command]] for Developer Edition license holders only.
+
Run Python is a [[Developer Commands|Developer Command]] for Developer Edition license users only.
  
 
This command will run python commands within UBot Studio.
 
This command will run python commands within UBot Studio.

Revision as of 16:12, 5 November 2014

Run Python is a Developer Command for Developer Edition license users only.

This command will run python commands within UBot Studio.

Commands created with run python will run on all editions, but it will only be editable in node view in the Developer edition.


Example

run python("import clr
clr.AddReference(\"System.Windows.Forms\")
 
from System.Windows.Forms import MessageBox
MessageBox.Show(\"Hello World\")")


Running the script will produce an alert with the words "Hello World" displayed within it.


Runpython.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox