Get User's Current Chat Channel?
Hi!
I was wondering if there is a way to get user's current chat channel. On the API documentation I could only find: Code:
Turbine.Chat.Received = function (sender, args) Here is a rough idea how my code is running at the moment, I use lotro quickslot to create alias for sending messages to the chat. It works fine If i specify chatType to be for example: "/kinship", "/lff" or "/world", but if I leave it empty the alias defaults to "/say" even if I have some other channel open. Code:
sendButton = Turbine.UI.Lotro.Quickslot(); Example of desired behaviour: User has kinship chat opened, and 'send message' button is clicked. -> message gets printed into the kinship channel. I would appreciate any feedback/tips on how to solve this. Or information if there is a better way to post messages to chat than using quickslots and alias. |
Hi,
I think this is not possible. There ist no "active" channel selected till you send a message. So this event will be triggerd only with the sending args. There are some great plugins which solved this problem. Have a look for rainbowchat for example.You find this here. I think possible could be to set the standard chat one time in your plugins preferences. Greetz Glafria |
All times are GMT -5. The time now is 11:10 PM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI