rendered paste bodyon *:text:@spychan*:#:{
if ($nick == Kirbster) {
if (%spy.script == ON) { msg # 14I am already spying on $+ 7 %spy.channel 14. Type @SpyEnd to end my spying. | halt }
if ($2 == $null) { msg # 14You need to put which channel I am supposed to spy on. | halt }
else {
msg # 14Now spying on Channel $+ 7 $2 $+ 14.
mode KirbyBot -B
set %spy.channel $2
nick Riltin
set %spy.script ON
set %spy.return $chan
timer 1 2 join $2
}
}
}
on *:text:@spyend:#:{
if ($nick == Kirbster) {
if (%spy.script == ON) { msg # 14Now ending the spying on Channel $+ 7 %spy.channel $+ 14.
part %spy.channel
unset %spy.script
unset %spy.channel
nick KirbyBot
mode KirbyBot +B
unset %spy.return | halt }
if (%spy.script == $null) { msg # 14I am not currently spying on any channel right now, to start, type @SpyChan <<Channel>> . | halt }
}
}
on *:text:*:%spy.channel:{
if (%spy.script == ON) {
if ($nick isop %spy.channel) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3×4@ $$+ $nick $$+ 3×14 $1-
}
if ($nick ishop %spy.channel) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3×7% $$+ $nick $$+ 3×14 $1-
}
if ($nick isvoice %spy.channel) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3×12+ $$+ $nick $$+ 3×14 $1-
}
if ($nick isreg %spy.channel) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3×10 $$+ $nick $$+ 3×14 $1-
}
else { halt }
}
}
on *:action:*:%spy.channel:{
if (%spy.script == ON) {
if ($nick isop %spy.channel) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 6×4@ $$+ $nick $$+ 6 $1-
}
if ($nick ishop %spy.channel) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 6×7% $$+ $nick $$+ 6 $1-
}
if ($nick isvoice %spy.channel) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 6×12+ $$+ $nick $$+ 6 $1-
}
if ($nick isreg %spy.channel) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 6×10 $$+ $nick $$+ 6 $1-
}
else { halt }
}
}
on *:join:%spy.channel:{
if (%spy.script == ON) {
msg %spy.return 10 [ $time(hh:nn TT) ] 3 *** $nick ( $+ $mask($address,3) $+ ) has joined %spy.channel
}
else { halt }
}
on *:part:%spy.channel:{
if (%spy.script == ON) {
msg %spy.return 10 [ $time(hh:nn TT) ] 3*** $nick ( $+ $mask($address,3) $+ ) has left %spy.channel
}
}
on *:quit: {
if (%spy.script == ON) {
if ( $nick ison %spy.channel ) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 4*** $nick has quit IRC 3( $+ $1- $+ )
}
}
else { halt }
}
on *:nick: {
if (%spy.script == ON) {
if ($comchan($newnick,1) == %spy.channel) { msg %spy.return 10 [ $time(hh:nn TT) ] 3*** $nick is known as $newnick
}
else { halt }
}
}
on *:kick:%spy.channel:{
if (%spy.script == ON) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3*** $knick was kicked by $nick ( $+ $2- $+ )
}
else { halt }
}
on *:op:%spy.channel:{
if (%spy.script == ON) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3*** $nick sets +o $opnick
}
else { halt }
}
on *:DEOP:%spy.channel: {
if (%spy.script == ON) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3*** $nick sets -o $opnick
}
else { halt }
}
on *:VOICE:%spy.channel: {
if (%spy.script == ON) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3*** $nick sets +v $vnick
}
else { halt }
}
on *:DEVOICE:%spy.channel: {
if (%spy.script == ON) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3*** $nick sets -v $vnick
}
else { halt }
}
on *:BAN:%spy.channel: {
if (%spy.script == ON) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3*** $nick sets +b $bnick
}
else { halt }
}
on *:UNBAN:%spy.channel: {
if (%spy.script == ON) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3*** $nick sets -b $1-
}
else { halt }
}
on *:TOPIC:%spy.channel: {
if (%spy.script == ON) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3*** $nick changes topic to ' $+ $chan(%spy.channel).topic '
}
else { halt }
}
on *:MODE:%spy.channel: {
if (%spy.script == ON) {
msg %spy.return 14(3 $+ %spy.channel $+ 14) 10 [ $time(hh:nn TT) ] 3*** $nick set mode $1-
}
else { halt }
}