Spybot

By Dabomb on Dec 19, 2005

Revised. Press F8 to see instructions. Pick a channel (of your choice), join it, spy it, status it, and end it.

on *:LOAD: {
  window -aek0 @logged
  F8
  echo @logged Those Are The Instructions, Press F8 To See Them Again.
}
alias F8 {
  echo @logged Type /Spy (Channel) To Spy.
  echo @logged Type /End To End.
  echo @logged Type /Status To Check What Channel Your Spying.
}
alias Status { echo %spy Current Spy Channel: %spy $+ . }
alias spy {
  set %spy $2
  join %spy
}
on *:JOIN:%spy: {
  If ($nick != $me) {
    echo @logged %spy $time 3Joins: $nick %spy
  }
}
on *:PART:%spy: {
  If ($nick == $me) {
    echo @logged 3Turning Off Spy System, Exiting Channel.
  }
  If ($nick != $me) {
    echo @logged $time 3Parts: $nick $chan
}
}
on *:ACTION:*:%spy: {
  echo @logged $time 6* $nick $1- %spy
}
on *:TEXT:*:%spy: {
  echo @logged $time < $+ $nick $+ > $1-
}
on *:KICK:%spy: {
  echo @logged 3 $+ $knick was kicked by $nick ( $+ $1- $+ )
}
on *:BAN:%spy: {
  echo @logged $time 3* $nick bans $bnick
}
on *:NICK:%spy: {
  If ($newnick != $me) {
    echo @logged $time 3* $nick is now known as $newnick
  }
  If ($newnick == $me) {
    echo @logged $time 3* $me is now known as $newnick
  }
}
alias end {
  part %spy
  unset %spy
}

Comments

Sign in to comment.
Dabomb   -  Dec 23, 2005

There\'s the update. Point out any faults for me. Btw, it was an OLD script xD.

 Respond  
Dabomb   -  Dec 22, 2005

Good point, all of you \'xD. I need to update, I forgot to add \"/window -ak0 @logged\" into the script.

 Respond  
IcyLiquid   -  Dec 22, 2005

wtf.

 Respond  
Whatever   -  Dec 19, 2005

Wouldn\'t it be better if you made use of @windows instead of a channel?

 Respond  
xDaeMoN   -  Dec 19, 2005

The goto & halt commands are not needed. Also use /join instead of /j.

Your on join & on part commands should be like this

on !*:JOIN:%spy: msg %spy2 $time 3Joins: $nick %spy

on *:PART:%spy: {
If ($nick == $me) {
set %kspy off
msg $chan Leaving $chan Turning Off System
}
else msg %spy2 $time 3Parts: $nick $chan
}

 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.