$chan will refer to the channel the event triggerd from