One thing I'm still missing .. or just haven't noticed yet.
I use to have several worlds opened at a time, therefore I don't always notice it when someone does a tell to me. I've made a soundtrigger on this event, but sometimes I just miss it.
I'd like to build a script function, which checks, wether the world is 'active'. If not, search the active world window and do a Note() there. Well, and if the Mushclient window isn't activated, is it possible to flash it in the taskbar?
My idea for the script would be (in Lua)
Assuming, that world.isActivated and world.isClientActivated are boolean values and there's a function called FlashClient - but those I miss.
Any suggestions?
I use to have several worlds opened at a time, therefore I don't always notice it when someone does a tell to me. I've made a soundtrigger on this event, but sometimes I just miss it.
I'd like to build a script function, which checks, wether the world is 'active'. If not, search the active world window and do a Note() there. Well, and if the Mushclient window isn't activated, is it possible to flash it in the taskbar?
My idea for the script would be (in Lua)
--
function tell_received()
if not world.isActivated then
if not world.isClientActivated then
FlashClient()
else
for k,v in pairs(GetWorldIdList()) do
if GetWorldById(v).isActivated then
GetWorldById(v).Note("Tell in World "..GetInfo(2))
break
end
end
end
end
end
--
Assuming, that world.isActivated and world.isClientActivated are boolean values and there's a function called FlashClient - but those I miss.
Any suggestions?