What about if my bot has an !exit command (which makes the bot leave the channel...) But I only want the channel owner to be able to use this command.
my if sentence is :
if ($nick isop $chan) { msg $chan $nick ok I will exit # ... don't forget to follow me... /part # $chan }