Define
From UBot Studio
(Difference between revisions)
(Created page with "This command is a flow command. This command allows you to define a custom command or function that can be used in your bot. == Example == Naming the com...") |
(→Example) |
||
Line 22: | Line 22: | ||
[[File:define.png]] | [[File:define.png]] | ||
− | For more information on | + | For more information on how to create a function, please see the [[Return]] command. |
Revision as of 19:15, 13 April 2013
This command is a flow command. This command allows you to define a custom command or function that can be used in your bot.
Example
Naming the command, placing other commands in the define command and clicking OK creates the command under the Custom Commands tab.
define search for a keyword { navigate("google.com", "Wait") type text(<name="q">, "Stina Nordenstam", "Standard") click(<name="btnK">, "Left Click", "No") } search for a keyword()
Running the script will run the commands in the defined command called "search for a keyword" as one command.
For more information on how to create a function, please see the Return command.