Just looked this thread again and started to think again....
One way would be if you play with
$appstate and
/tray -i iconfileSo it could be something like this maybe....
ON *:TEXT:*:#: {
if ($appstate == tray) {
tray -i trayico_chantext.ico
}
}
on *:TEXT:*:?: {
if ($appstate == tray) {
tray -i2 trayicons.ico
}
}
on 1:DISCONNECT: {
if ($appstate == tray) {
tray -i5 trayicons.dll
}
}
and so on...
If you are bored enough you could make a
LONG script and use custom tray icon for every single event...