I am looking to make a script that only logs channels on one of many connections on a single client.

Some connections are in the same channel and I don't want my logs showing everything twice. I could just run separate clients I know bu I'm just looking for a way to keep it to one client.

I made a very basic script (I'm not at the pc atm so I can't post it) but the script simply turns on logging if I'm using specific user names.

The problem I feel my solution will face is random dcs or once logging is enabled it stays on, and I don't think I should use a script that enables or disables logging based on current nick as a viable option.