UI stat monitor
From UBot Studio
(Difference between revisions)
(→Example) |
|||
Line 12: | Line 12: | ||
</pre> | </pre> | ||
+ | |||
Running the script displays the value of the variable on the UI of the bot. | Running the script displays the value of the variable on the UI of the bot. | ||
+ | |||
[[File:uistatmonitor.png]] | [[File:uistatmonitor.png]] |
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.