# $EPIC: on_switch_channels.txt,v 1.2 2006/08/19 02:36:28 sthalik Exp $
on [<modes>]switch_channels [<serial#>] [-|^]<match> { <action> }
This hook is triggered whenever the current channel is switched.
| $0 | reference number of the window in which the switch occurred |
| $1 | channel you were talking to |
| $2 | channel you are now talking to |