Hm... $target returns Quit? That's a weird thing for it to return. If you wanted the event, $event would give it to you, so why would $target give Quit as the output instead of the channel they quit from? I'm not saying it doesn't... I'm just wondering WHY it would.