on *:TEXT:*:#: {
if ($me == no-nick) && ($me isop $chan) {
if ($1 == +v) && ( $nick isop $chan || $nick ishop $chan ) && ($2 ison $chan) { /set %com +v $2 | /set %mes $2 should now be voiced. }
elseif ($1 == -v) && ( $nick isop $chan || $nick ishop $chan ) && ($2 ison $chan) { /set %com -v $2 | /set %mes $2 should now have no voice. }
elseif ($1 == +h) && ( $nick isop $chan ) && ($2 ison $chan) { /set %com +h $2 | /set %mes $2 should now have halfop status. }
elseif ($1 == -h) && ( $nick isop $chan ) && ($2 ison $chan) { /set %com -h $2 | /set %mes $2 should now not have halfop status. }
elseif ($1 == +o) && ( $nick isop $chan ) && ($2 ison $chan) { /set %com +o $2 | /set %mes $2 should now have operator status. }
elseif ($1 == -o) && ( $nick isop $chan ) && ($2 ison $chan) { /set %com -o $2 | /set %mes $2 should now not have operator status. }
elseif ($1 == +m) && ( $nick isop $chan || $nick ishop $chan ) { /set %com +m | /set %mes $nick set "moderation" on $chan }
elseif ($1 == -m) && ( $nick isop $chan || $nick ishop $chan ) { /set %com -m | /set %mes $nick unset "moderation" on $chan }
elseif ($1 == +i) && ( $nick isop $chan || $nick ishop $chan ) { /set %com +i | /set %mes $nick made the channel "invite only"... Type "!inv <nick>" to invite someone to the channel. }
elseif ($1 == -i) && ( $nick isop $chan || $nick ishop $chan ) { /set %com -i | /set %mes $nick made the channel open to everyone. }
if ($1 == +v || -v || +h || -h || +o || -o || +m || -m || +i || -i) { /mode $chan %com | /msg $chan %mes
}
}
}
When anyone says anything when no-nick (the bot) is +o this happens:
Quote:
[17:31] <~seanturner70> test [17:31] <&no-nick> seanturner70 made the channel open to everyone. [17:31] <~seanturner70> [17:31] <&no-nick> seanturner70 made the channel open to everyone.