on *:op:#: { if ($opnick == $me) { did -e OpsSetup ID } } on *:deop:#: { if ($opnick == $me) { did -b OpsSetup ID } }
but you may need to add if not open on *:DIALOG:OpsSetup:init:0:{ if ($me isop #channel) { did -e OpsSetup ID } if ($me !isop #channel) { did -b OpsSetup ID } }
pretty new to this hope it helps
or to totally hide the button use -h and to make it visible again -v
If At First You Don't Succeed, Ask Someone For Help......
Damsulegna: i tried that but didn't work. thanxs for the efforts tho.
MikeChat: Awesome works perfectly. I even added elseif do did -b, so it disables the button when i do a deOp. thank you for your great help. i'm impressed