This (from above) produces the error 'unexpected symbol near '..''
path = getMudletHomeDir() .. "/Graphics/Icons/hunting-on.png"
hunting_label:setStyleSheet[[
border-image: url(]] .. path .. ");"
I've fiddled around with [[ ]] and " " and I still can't seem to get it to work.
I had of course already attempted to use this before I posted this so I guess our assumptions were the same but yeah it doesn't work.
hunting_label:setStyleSheet[[
border-image: url(]]..getMudletHomeDir()..[[/Graphics/Icons/hunting-on.png);]]
It seems to be the [[ ]] that are causing the problem though as I also attempted the following which doesn't cause the error but changes the label to a blank background.
hunting_label:setStyleSheet(
"border-image: url("..getMudletHomeDir().."/Graphics/Icons/hunting-on.png);")
Any more ideas?