on *:TEXT:!setchan *:?: { if ($nick ison $2) && ($nick isop $2) { if (!$2) { .msg $nick Proper format is !setchan #Channel } else { .set %channeltopost $2 .msg $nick Channel set to %channeltopost } } else { .msg $nick You are not an OP on $2 } } on *:TEXT:!say *:?: { if (!$2) { .msg $nick Proper format is !say } elseif ($nick isop %channeltopost) { var %post = $2- .msg %channeltopost %post } else { .msg $nick You are not an OP on %channeltopost } } on *:TEXT:!act *:?: { if (!$2) { .msg $nick Proper format is !act } elseif ($nick isop %channeltopost) { var %describe = $2- .describe %channeltopost %describe } else { .msg $nick You are not an OP on %channeltopost } }