I like to watch a lot of video game streams (League of Legends) while I'm macroing. One of the things that bothers me, though, is the inability to "see" what my character is doing while fullscreened. So, I wrote this. I wasn't really using it all that much, but then I got sick of opening my stats to see my weight and I incorporated it.
This is two subs, one to do some initial menu setup and one to update the stats. I included the loop I use to update the stats, but this is more for the subs. I realize it's pretty simple, but I found it extremely useful so I'm sharing here.
gosub showmenu
while true = true
{
gosub UpdateStats
wait 10
}
Sub ShowMenu
menu Clear
menu Window Color None
menu Window Size 160 80
menu Font Transparent #true
menu Window Title Stats
menu Window Weight
menu Font Size 12
menu Font Color Lime
menu Font Transparent #false
menu Font Align Left
menu Font BGColor none
menu Font Color Red
menu Font Color WindowText
menu Font BGColor BtnFace
menu Font Name Arial
menu Font Style b
menu Font Color Black
menu Font BGColor Lime4
menu Show 300 300
menu delete EUOLabel4
return
Sub UpdateStats
menu Text EUOLabel2 0 0 Weight: #WEIGHT / #MAXWEIGHT
menu Text EUOLable3 0 20 Mana: #MANA / #MAXMANA
menu Text EUOLable4 0 40 HP: #HITS / #MAXHITS
menu Text EUOLable5 0 60 Stam: #Stamina / #maxstam
return