As the title states, it's a pager where it alerts you when someone calls out to you in a channel where you are.
For your info, There is an operator for > if ($active != $chan) ->
if ($active !ischan)
These are the same thing, but ischan is a bit shorter. lol