It would trigger in any and all channels that the person running the script is in and has ops.

The event isn't channel specific, in comparison to being channel irrelevant. Because the event isn't channel specific, $chan would return $null