If you mean you want to be able to enable and disable a !command in the channel, the easiest way is to use groups:

Code:
#command on

on *:text:!command:#:{ msg # hello world }

#command end


Then you can use /enable #command and /disable #command to turn it on/off.