Geyser status window

Post Reply
Constin
Posts: 8
Joined: Sat Jan 05, 2013 8:59 pm

Geyser status window

Post by Constin »

Hello, i need status window with msdp and local variable (w/o using Visor)
i tryed to create Geyser window, but have some troubles

My window:

client now: https://dl.dropbox.com/u/10038339/trash/mmmmm.png

The green window is for MSDP and local virables

script:

testlabel = Geyser.Label:new({
name = "testlabel",
x = -434, y = 0,
width = 420, height = 240,
fgColor = "black",
color = "SeaGreen",
message = ..atcp.MSDPCHARACTER_NAME..
})


so in this case the variable atcp.MSDPCHARACTER_NAME shows in window, but how i can add other variables to this window?

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Geyser status window

Post by Heiko »

clearWindow("testlabel4")
echo("testlabel4", "Hello World!")
setFgColor("testlabel4",255,0,0)
echo("testlabel4", "This is written in red color.")

You can use the window name directly in all relevant Mudlet API functions. Geyser is just an easy front end to the underlying Mudlet GUI API.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Geyser status window

Post by Vadi »

You want to use:

message = atcp.MSDPCHARACTER_NAME

To add other values,

message = atcp.MSDPCHARACTER_NAME.." "..atcp.SOMETHINGELSE

Post Reply