CharltonJ commented on a Page, Simple Spy Relay Bot  -  Jan 16, 2008
on *:LOAD:{ set %relay.chan1  $$?=\"Enter Channel you want to spy here:\" | set %relay.chan1  $$?=\"Enter a  Channel you want to spy from here:\" | echo -a load succesfully. }
alias setchans {
  set %relay.chan1 #channelyouwanttospyonhere
  set %relay.chan2 #channelyouwanttospyfromhere
}
on *:text:*:%relay.chan1: {
  if ( $chan(#).cid == 1 ) && (%Spy == on) {
    scid 1 msg %relay.chan2 $timestamp  $($+(<,$nick,>)) $1-
  }
}
on *:action:*:%relay.chan1: {
  if ( $chan(#).cid == 1 ) && (%Spy == on) {
    scid 1 msg %relay.chan2 $timestamp  $nick $1-
  }
}
on *:join:%relay.chan1: {
  if ( $chan(#).cid == 1 ) && (%Spy == on) {
    scid 1 msg %relay.chan2 Joins: $nick $address($nick,5)
  }
}
on *:part:%relay.chan1: {
  if ( $chan(#).cid == 1 ) && (%Spy == on) {
    scid 1 msg %relay.chan2 Parts: $nick $address($nick,5)
  }
}

on @*:mode:%relay.chan1: {
  if ( $chan(#).cid == 1 ) && (%Spy == on) {
    scid 1 mode %relay.chan2 $1-
  }
}
on @*:topic:%relay.chan1: {
  if ( $chan(#).cid == 1 ) && (%Spy == on) {
    scid 1 topic %relay.chan2 $1-
  }
}
menu channel { 
  Simple Spy Bot:
  .on://set %spy on
  .off://set %spy off
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.