Yes, but with your check boxes you're going to have to change your code a little:

.enable #CTCP (Enables your events)
.disable #CTCP (Disables your events)

So just put those commands in the code for your checkboxes.