Hello i have a code here that says thanks for ops if opped, some channels can't stand that sort of thing as it can appear to be lame, but was wondering how do i go about making a
%var so i can set in the popup menu what channels i would want it to go in.

Here's what i got so far, i would imagine i would need to have somesort of /set command to choose what channels i want

#op.thanker off
on *:OP:#: { if ($opnick == $me) && ($nick != $me) /msg # 12,8 Thanks for the @4 $nick 12!¡!¡!¡!  }
#op.thanker end