GazHawkins 0 Posted February 28, 2012 Report Share Posted February 28, 2012 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 Quote Link to post Share on other sites
Lombi 34 Posted February 28, 2012 Report Share Posted February 28, 2012 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 Quote Link to post Share on other sites
GazHawkins 0 Posted February 28, 2012 Author Report Share Posted February 28, 2012 Thanks Lombi, Will try using a text field and disable... Have got to grips with the other elements and passing data in real time works really well. Thanks for your help, its appreciated. Gaz Quote Link to post Share on other sites
pftg4 102 Posted February 28, 2012 Report Share Posted February 28, 2012 i think it's a span tag click on john's sig and go to his site he has a tut on it pftg4 Quote Link to post Share on other sites
GazHawkins 0 Posted February 28, 2012 Author Report Share Posted February 28, 2012 thanks pftg4, I am guessing you mean Johns videos on the http://learnubot.com/ site then I have been through the 2 UI videos I could find on there and didn't see anything about the stat monitor.. will have another look. Thanks again Gaz Quote Link to post Share on other sites
pftg4 102 Posted February 28, 2012 Report Share Posted February 28, 2012 http://learnubot.com/version4-2/ubot-tutorial-v4-ui-html-stat-monitor/ 1 Quote Link to post Share on other sites
Lombi 34 Posted February 28, 2012 Report Share Posted February 28, 2012 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 2 Quote Link to post Share on other sites
GazHawkins 0 Posted March 8, 2012 Author Report Share Posted March 8, 2012 Hi pftg4/Lombi, Thank you very much for your help and sorry it has taken so long to reply. Cheers Gaz Quote Link to post Share on other sites
Bliss 194 Posted March 9, 2012 Report Share Posted March 9, 2012 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 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 Quote Link to post Share on other sites
malefic 48 Posted March 9, 2012 Report Share Posted March 9, 2012 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!! Quote Link to post Share on other sites
elizbeth 2 Posted May 9, 2013 Report Share Posted May 9, 2013 Thanks Lombi,That was a real helpfull code snippet Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.