Again, you need an event. If it's on TEXT, you have:

on CupAdmin:TEXT:*:#: { }

You won't need the isop/isvoice stuff at all if you have everyone set up in the group.

I see what you were doing with the variable. You can leave it like that and make it changeable that way or remove it. The choice is yours.