Jump to content
UBot Underground

Using Stat Monitor in UI HTML panel


Recommended Posts

Hi everyone,

 

My name is Gaz and I'm a new bot developer :)

 

I have been a developer for 12 years now but am using Ubot to speed up the creating IM bots as it was taking too long to code them in the likes of VB.NET.

 

anyway, I am using the UI HTML panel to define my own UI and found all the info I need for it except for the stat monitor.

 

I have searched the forums and watched a couple of video tutorials and not found the type of HTML tag or attributes I need to put in to get a stat monitor area.

 

Any help or pointers to where the info is would be appreciated.

 

Many thanks

 

Gaz

Link to post
Share on other sites

I think variables update in real time so if you make a text input tied to a variable and disable it or maybe turn the css background color the same as the rest of the background its basically a stat monitor :)

Link to post
Share on other sites

Very interesting! It works!

 

ui html panel("<div variable=\"#total\" fillwith=\"innertext\" style=\"background-color: red; margin: 10px;\">0</div>", 50)
set(#total, 1, "Global")

 

Guess this is going into my code snippet stack asap :D

  • Like 2
Link to post
Share on other sites
  • 2 weeks later...

Very interesting! It works!

 

ui html panel("<div variable=\"#total\" fillwith=\"innertext\" style=\"background-color: red; margin: 10px;\">0</div>", 50)
set(#total, 1, "Global")

 

Guess this is going into my code snippet stack asap :D

 

Yup, when you set the variable in the bot it updates in the ui html if you are displaying the variable in there. It got me for a short time also when i first started using the ui html.

 

Jane

Link to post
Share on other sites

Glad I stumbled on this thread - was reaching a point where I would like to use this.....now copied and pasted to an ever growing 'This is cool' file!!

Link to post
Share on other sites
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...