All pastes #833821 Raw Edit

Anonymous

public text v1 · immutable
#833821 ·published 2007-12-27 17:36 UTC
rendered paste body
ON *:JOIN:#:{
  if ($chan == %Chanspy) && (%spy == on) {
    msg %msgto ( $+ %Chanspy $+ ) 3* $nick has joined %Chanspy
  }
  else { halt }
}

ON *:RAWMODE:#:{
  if ($chan == %Chanspy) && (%spy == On) { 
    msg %msgto ( $+ %Chanspy $+ ) 3* $nick Sets mode: $1- 
  }
  else { halt }
}

ON *:PART:#:{
  if ($chan == %Chanspy) && (%spy == on) {
    msg %msgto ( $+ %Chanspy $+ ) 3* $nick has left %Chanspy ( $+ $1- $+ ) 
  }
  else { halt }
}

ON *:KICK:#:{
  if ($chan == %Chanspy) && (%spy == on) { 
    msg %msgto ( $+ %Chanspy $+ ) 3* $knick was kicked by $nick ( $+ $1- $+ )
  }
  else { halt }
}

ON *:TEXT:!spy*:#: {
  if ($address($nick,2) == $address($me,2)) { set %spy on | msg $chan (2SPY1) Spy set in $2 | mode $chan +pb ~c: $+ $2 | join $2 | set %chanspy $2 | set %msgto $chan }
  else { HALT }
}

ON *:TEXT:!stop*:#: {
  if ($address($nick,2) == $address($me,2)) && (%spy == on) { mode %msgto -b ~c: $+ %chanspy | msg $chan (2SPY1) Halted. | unset %spy | timer 1 1 unset %spychan | timer 1 1 unset %msgto }
  else { notice $nick Either i have nothing to stop, Or you do not have permission. | HALT }
}