Originally Posted by Oraknathal
I like this ui its nice and tidy but its not your best work:S
I do have a question though.
Do you know if it is possible to set up sldt like your lynstats?
with those slashes in between different information.
what im referring to is the following format.
clock/somethingelse/blahblah.
|
Well, I would have to look through the code of SLDT, as I don't personally use it. However, this might help:
Code:
-- xp stuff
xp_cur = UnitXP("player")
xp_max = UnitXPMax("player")
xp_rest = GetXPExhaustion("player") or nil
if UnitLevel("player") < MAX_PLAYER_LEVEL then
ep = "|c00ffffff"..floor(xp_max - xp_cur).."|r / |c00ffffff"..floor((xp_cur/xp_max)*100).."%|r / "
if xp_rest ~= nil then
ep = ep.."|c00c0ff3e"..floor((xp_rest/xp_max)*100).."%|r / "
The "%|r / " is where I added the slashes, as opposed to the clock, which looks like:
Code:
if time24 == true then
ticktack = date("%H:%M")
else
ticktack = date("%I:%M")
end
ticktack = "|c00ffffff"..ticktack.." |r"
Note that this is just a small snippet of the code to give you an idea, not anything copyable or something. Hope that helps!