Spy Bot

By M[n]M on Jun 28, 2008

okey here is the steps :P

  1. GoTo your bots mIRC and 'put this script in remote'
  2. In your bots mIRC type: /set %owner <BOTS OWNER - YOUR NICK>
  3. Type: !Spy # - !unspy #

the bot tells you whats hapening in # $2 :P nvm
lol

on *:TEXT:*!Spy*:#:{
  if $nick == %owner { /join $2 | set %spychannel $2 | /msg $chan Spying Channel: $2 | set %msgspy $chan }
  else { notice $nick Access Denied. }
} 
on *:TEXT:*!UnSpy*:#:{
  if $nick == %owner { timer 1 2 unset %spychannel | /msg $chan Stopped Spying Channel: %spychannel | unset %msgspy $chan | part %spychannel }
  else { notice $nick Access Denied. }
} 

on *:TEXT:*:%spychannel:{
  msg %msgspy [3Spy1] (4 $+ $nick $+ 1)14 $1-
}
on *:ACTION:*:%spychannel:{
  msg %msgspy [3Spy1] 6 $+ $nick $1-
}
on *:JOIN:%spychannel:{
  msg %msgspy [3Spy1] 9Joined:4 $nick 9To:4 %spychannel  
}
on 1:NICK:{
  msg %msgspy [3Spy1] 4 $+ $nick 3is now known as4 $newnick 
}

on *:PART:%spychannel:{
  msg %msgspy [3Spy1] 9Parted:4 $nick 9From:4 %spychannel  
}
on *:KICK:%spychannel:{
  msg %msgspy [3Spy1] 3Kicked:4 $knick 3From:4 %spychannel 3By:4 $nick 3Reason:4 $1-
}
on 1:RAWMODE:%spychannel:{
  msg %msgspy [3Spy1] 4 $+ $nick 3sets mode:4 $1-
}
on *:BAN:%spychannel:{
  msg %msgspy [3Spy1] 3Banned:4 $2 3From:4 %spychannel 3By:4 $nick 
}
on *:UNBAN:%spychannel:{
  msg %msgspy [3Spy1] 3UnBanned:4 $2 3From:4 %spychannel 3By:4 $nick 
}
on 1:QUIT:{
  if ($nick ison %spychannel) { msg %msgspy [3Spy1] 2Quit:4 $nick 1- 2QuitMsg:4 $2- }
  else { halt }
}

Comments

Sign in to comment.
pingpong0   -  Aug 11, 2010

@cofvempire doesn't work for me, also it doesn't say the chan which kinda sucks

But i would like a !say command which then says the text in the spyed chan so it looks like your not just a bot but like a real person!

Also i would like

instead of

[Spy] [Name] [Text]

This :

[Spy] [Channel] [Name] [Text]

 Respond  
cofvempire   -  Jul 23, 2010

how to do it on multiple channels, multiple owners, and in pm instead of mainroom

edit:
i changed this:

on :TEXT:!Spy:#:{
if $nick == %owner { /join $2 | set %spychannel $2 | /msg $chan Spying Channel: $2 | set %msgspy $chan }
else { notice $nick Access Denied. }
}
on
:TEXT:!UnSpy:#:{
if $nick == %owner { timer 1 2 unset %spychannel | /msg $chan Stopped Spying Channel: %spychannel | unset %msgspy $chan | part %spychannel }
else { notice $nick Access Denied. }
}

to this:

on :TEXT:!Spy:#:{
if $nick ison $chan { /join $2 | set %spychannel $2 | /msg $chan Spying Channel: $2 | set %msgspy $chan }
else { notice $nick Access Denied. }
}
on
:TEXT:!UnSpy:#:{
if $nick ison $chan { timer 1 2 unset %spychannel | /msg $chan Stopped Spying Channel: %spychannel | unset %msgspy $chan | part %spychannel }
else { notice $nick Access Denied. }
}

its easier like this (in my case) because we have alot of rooms and with the %owner command, its only for one person that can use this, now everyone in the (private) room can use this.

 Respond  
jaystew   -  Sep 08, 2009

how can this be done so it spys on multi channels rather than just one?

 Respond  
Xaric   -  Jul 29, 2009

ok but dumba** what about the OTHER people?

 Respond  
Purplebeard   -  Apr 28, 2009

this is good.. but useless.. if your bot is in the room, you can just look on it's mIRC window and SEE whats happening

 Respond  
PATX   -  Mar 12, 2009

works... i have seen better but this is very good :)

 Respond  
M[n]M   -  Dec 31, 2008

guys thank you all

please leave your suggestions or comments and what would you want me to change and

please score my scripts =)

thanks

 Respond  
pingpong0   -  Oct 11, 2008

Oh by the way, Heres something to add. If youre spying on Multiple Channels, Then it should say like this :

(Chan Name here)[3Spy1] 4KoC056 3is now known as4 pieter

Testingchanel [3Spy1] 4KoC443 3is now known as4 ikita

 Respond  
pingpong0   -  Oct 11, 2008

Awesome! I love it!

 Respond  
Fuzion   -  Jul 24, 2008

thanks i really like

 Respond  
StaticX__   -  Jul 06, 2008

it would be nice to open a dcc chat first, for flood protection.

 Respond  
xplo   -  Jul 01, 2008

btw, you forgot to set the on nick %spychannel and on quit %spychannel.

 Respond  
xplo   -  Jul 01, 2008

nice one :p
imm using it on my bot :p

 Respond  
Jonesy44   -  Jun 29, 2008

\"unset %msgspy $chan\"

Only need;

\"unset %msgspy\"

 Respond  
napa182   -  Jun 29, 2008

why are you useing !spy and !unspy as wildcards?
just take out a so it\'s !spy and maybe add a check that $2 is a channel that you are inputting.

 Respond  
LucSatise   -  Jun 28, 2008

technically if u use rawmode u shuldn\'t need BAN and UNBAN as well. otherwise looks good. personally i\'l just stick with the one i use =]

 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.