on *:load:{ echo -a 7-14Phate's Spy Script7- spychan set echo -a -- You must be on both channels that you just set echo -a == To enable the Spy Script, use /spychan on echo -a == To disable the Spy Script, use /spychan off echo -a -- To change your Spy Channel or Log Channel, use /spychan set echo -a -- To clear your Channel settings, use /spychan clear } #spy off on *:text:*:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > < $+ $nick $+ > $1- } } on *:action:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 6* $+ $nick $1- } } on *:nick:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $nick changed their nick to $newnick } } on *:part:#:{ if ( $chan == %spy_chan ) { if ( $1 == $null ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 14 $+ $nick parted } elseif ( $1 != $null ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 14 $+ $nick parted ( $+ $1- $+) } } } on *:join:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 7 $+ $nick joined } } on *:kick:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 4 $+ $knick was kicked by $nick } } on *:ban:#:{ if ( $chan == %spy_chan ) { if ( $bnick != $null ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $bnick was banned by $nick } elseif ( $bnick == $null ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $banmask was banned by $nick } } } on *:unban:#:{ if ( $chan == %spy_chan ) { if ( $bnick != $null ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $bnick was unbanned by $nick } elseif ( $bnick == $null ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $banmask was unbanned by $nick } } } on *:op:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $opnick was opped } } on *:deop:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $opnick was deopped } } on *:serverop:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $opnick was opped } } on *:help:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $hnick was h-opped } } on *:dehelp:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $hnick was de h-opped } } on *:voice:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $vnick was voiced } } on *:devoice:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $vnick was devoiced } } on *:mode:#:{ if ( $chan == %spy_chan ) { msg %log_chan < $+ $time(h:nn:ss) $+ > 3 $+ $nick sets mode $1- } } #spy end alias spychan { if ( $1 == $null ) { echo -a Usage: /spychan } if ( $1 == set ) { set %spy_chan [ $?="Channel to be spied upon" ] if ( $left(%spy_chan,1) != $chr(35) ) { set %temp1 [ %spy_chan ] set %spy_chan [ $chr(35) $+ [ %temp1 ] ] unset %temp1 } set %log_chan [ $?="Channel for logs to be output to" ] if ( $left(%log_chan,1) != $chr(35) ) { set %temp2 [ %log_chan ] set %log_chan [ $chr(35) $+ [ %temp2 ] ] unset %temp2 } if ( %spy_chan == %log_chan ) { unset %spy_chan unset %log_chan echo -a Spy Chan and Log Chan were the same, unsetting. } elseif ( $1 == on ) { enable #spy } elseif ( $1 == off ) { disable #spy } elseif ( $1 == clear ) { unset %spy_chan unset %log_chan } }