UI stat monitor
From UBot Studio
(Difference between revisions)
(Created page with "This command is a UI Command. This command will display the value of any variable you insert into it on the UI area above the browser. For example, you can se...") |
|||
Line 1: | Line 1: | ||
− | This command is a [[UI Commands|UI Command]]. This command will display the value of any variable you insert into it on the UI area | + | This command is a [[UI Commands|UI Command]]. This command will display the value of any variable you insert into it on the UI area above the browser. |
− | above the browser. For example, you can set a variable to a scrape attribute command, and then insert the variable into the UI stat monitor command. Whatever gets scraped will be displayed in the UI area above the browser. Simply drag the command into the | + | |
− | scripting area, give the display a label, and insert the variable for the item you are trying to display. | + | For example, you can set a variable to a scrape attribute command, and then insert the variable into the UI stat monitor command. |
+ | |||
+ | Whatever gets scraped will be displayed in the UI area above the browser. Simply drag the command into the scripting area, give the display a label, and insert the variable for the item you are trying to display. | ||
== Example == | == Example == |
Revision as of 15:34, 14 April 2013
This command is a UI Command. This command will display the value of any variable you insert into it on the UI area above the browser.
For example, you can set a variable to a scrape attribute command, and then insert the variable into the UI stat monitor command.
Whatever gets scraped will be displayed in the UI area above the browser. Simply drag the command into the scripting area, give the display a label, and insert the variable for the item you are trying to display.
Example
set(#hello, "Hello!", "Global") ui stat monitor("Greeting:", #hello)
Running the script displays the value of the variable on the UI of the bot.