There are no direct events to work with the Chat tabs. I can't even be notified of name changes or categories being toggeled (UCT has to use a timer to save changes and that in 2014).
There might be some pre-hook event or direct access to the UI element wich allows you to be notified if the active tab changes, but I avoid those areas.
There is no direct way to set the chat channel either. However, if you use Startmessage with a proper channel /slashID (not the same as a slash command!), it will switch to that channel.
But again, there migh be some undokumneted way for this.
|