on *:text:*:#: { if (($left($1,1) == !) || ($left($1,1) == @)) && $address($nick,2) != $address($me,2) { /notice $nick Sorry you do not have access to use this command | halt } if (!chanspy == $1) { %spy.mpe = $chan %spy.room = $2 %spy.enabled = true join %spy.room msg $chan Chan Spy on %spy.room iS Now EnaBleD } if (!unspy == $1) { msg %spy.mpe Chan Spy on %spy.room iS Now DisABleD part %spy.room unset %spy.* } else { if (%spy.enabled) && (%spy.room == $chan) { msg %spy.mpe >>> $v1 ( $nick ) $1- } } }