Having some difficulty finding the right syntax for a problem I'm trying to address.

Looking to have an action occur when a specific user, in a specific channel quits, and again when the same user in the same channel re-joins.

So far I'm guessing this needs to be handled by an on:quit and on:join. But I've got no idea how to set this up to be user and/or channel specific.

The goal is to automatically run a bot script as backup when this user is disconnected.