First, how do I a gmcp value to show up and update in a geyser label?
Right now I have a script, and the event "gmcp.Char.Status" is an event handler for it. The script is:
Code: Select all
function charStatus()
mylevel = gmcp.Char.Status.level
mygold = gmcp.Char.Status.gold
myname = gmcp.Char.Status.fullname
mymessages = gmcp.Char.Status.unread_msgs
mynews = gmcp.Char.Status.unread_news
end
Code: Select all
namelabel:echo(myname.."<br>Level: "..mylevel.."<br>Gold: "..mygold.."<br>Messages: "..mymessages)
Second question, how do I change the font size on the label? I've currently got:
Code: Select all
namelabel:setStyleSheet([[
qproperty-alignment: 'AlignLeft | AlignTop';
font-family: Calibri;
font-size: 30px;
font-style: bold;
border: 2px solid firebrick;
Thank you in advance!