; ;New op script ; ; On *:TEXT:*op*:#: { If ($nick == !isop) { Notice $nick  You do not have permission to do that. } If ($me == !isop) { Notice $nick  I am not an operator in this Channel. } IF ($nick == isop) { If ($wm == $me Op) || ($wm == $me +o) { mode $chan +o $3+ Notice $3- o $nick has promoted you to the position of 5Operator.5 } If ($1 == !op) || ($1 == +o) { mode $chan +o $3+ Notice $3- o $nick has promoted you to the position of 5Operator.5 } } } ;####### ;# Op # ;####### On $*:TEXT:$((!/^(Op|+O)|( $me Op)/SI):#:{ if ($nick == isop) { If ($me == $1) && ($me == isop) { notice $3- o $nick has promoted you to the position of 5Operator.5 Mode $chan +o $3- } elseIf ($1 == !Op || !+O) && ($me == isop) { notice $3- o $nick has promoted you to the position of 5Operator.5 Mode $chan +o $2- } } Else { Notice $nick  You do not have permission to do that. } } On $@:TEXT:$((!/^(DeOp|-O)|( $me Op)/SI):#:{ If ($me == $1) && ($me == isop) { notice $3- o $nick has removed your position of 5Operator.5 Mode $chan -o $3- } elseIf ($1 == !DeOp || !-O) && ($me == isop) { notice $3- o $nick has removed your position of 5Operator.5 Mode $chan -o $2- } Else { Notice $nick  You do not have permission to do that. } } ; ;old ; On *:Text:*:#: { if ($nick isop $chan) && ($me isop $chan) { if ($1 == $me) && ($2 == OP) { notice $3 1 $nick has promoted you to the position of 5Operator.5 mode $chan +o $3 } if ($1 == $me) && ($2 == DEOP) { notice $3 1 $nick has removed your 5Operator5 1status { mode $chan -o $3 } } } If ($nick !isop $chan) && ($1 == $me) && ($2 == Op) || ($2 == DEOP) { notice $nick You do not have the power to do that $nick } }