Top

Channel Spy Bot


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  4.8
Scores Submitted  4
Date Added  Jul 23, 2008
Last Updated  Aug 18, 2008
Tags  bot  channel  mirc  spy 
  Bookmark and Share

Introduction

This is a pretty simple mIRC script that sits in a channel and copies everything that happens into another channel. This is useful for having a bot spy on a channel that you do not want to/cannot join. I have also used it for moderating purposes.

Load this file into the remotes section of your mIRC client. Chances are, if you don't know how to do this, you don't need it.

When it is loaded, simply type /spy <channel to spy on> <channel to report to>

Grab the Code

Comments

  (16)  RSS
LucSatise
Comments: 122
 
mIRC Snippet:  Channel Spy Bot
Posted on Jul 24, 2008 10:58 am
k couple of things:

1. You should have a block so tht it doesn't spy if theres already a spy going on
2. Theres no command to cancel spy
3. By using rawmode you also shouldn't need ban/unban (correct me if im wrong someone)
DaNzO
Comments: 76
 
mIRC Snippet:  Channel Spy Bot
Posted on Jul 24, 2008 12:07 pm
Lol, Nothing is stopping someone from /whois'ing the Spy Bot, Finding the channel, Then Reporting it to the channel owner who the bot is spying on.

SnapeisntEvil
Comments: 18
 
mIRC Snippet:  Channel Spy Bot
Posted on Jul 26, 2008 12:22 am
Ok, i added a if statement to check if its already spying. I also added /unspy.
In response to LucSatise's 3rd statement, Yes, rawmode does cover bans, but i have another if inside of rawmode to ignore mode +/-b and then i have a 'on ban' to add a bit more functionality to the script.
SnapeisntEvil
Comments: 18
 
mIRC Snippet:  Channel Spy Bot
Posted on Jul 26, 2008 12:23 am
If anyone else has any comments/criticisms to make, I welcome them all...
SnapeisntEvil
Comments: 18
 
mIRC Snippet:  Channel Spy Bot
Posted on Jul 26, 2008 12:24 am
and in response to DaNzO, the whole point is that no one outside of %spyreport will know that its spying. Also, making the channel secret or invite-only would stop any unwanted users.
xyzzy
Comments: 1
 
mIRC Snippet:  Channel Spy Bot
Posted on Aug 9, 2008 12:12 am
O-o
Cheiron
Comments: 328
 
mIRC Snippet:  Channel Spy Bot
Posted on Aug 9, 2008 3:05 am
re quote from Danzo about the whois'ing the bot to see where it is.. you can hide it easily enough depending on what client/server you are on.. if you using mIRC you are able to type /mode <bot's nick> +p <enter>

that will stop the whois info showing what rooms the bot is in unless you are in the same room/s that it is in, then obviously it will show them.

this /mode <bots nick> +p can be entered into Perform on the mIRC options menu so that on start up connect to the server it will auto mode +p itself ergo hidden :)
Doodle
Comments: 19
 
mIRC Snippet:  Channel Spy Bot
Posted on Aug 17, 2008 11:03 pm
awesome script Phoenix
SnapeisntEvil
Comments: 18
 
mIRC Snippet:  Channel Spy Bot
Posted on Aug 18, 2008 6:57 pm
thanks
xredxthornsx
Comments: 20
 
mIRC Snippet:  Channel Spy Bot
Posted on Sep 14, 2008 1:08 am
i was going to Reply to this with a theory but my theory was flawed..

i thought if you used a @window you could have it report to the window but i thought if you were using it as a remotely hidden bot then you really wouldn't be able to see it but there might be a way to relay everything through dcc if you wanted to. Alot like manicks php bot using the monitor #channel command in DCC
xredxthornsx
Comments: 20
 
mIRC Snippet:  Channel Spy Bot
Posted on Sep 14, 2008 1:28 am
Code:
alias spy {
  if (%spychat == $null) {
    join $1
    join $2
    set %spychan $1
    set %spyreport $2
    enable #spybot
    echo SpyBot can only work in one channel at a time.
    mode $me +p
  }


so when it does activate it makes itself +p

Code:

alias unspy {
  echo No longer spying on %spychan
  mode $me -p
  unset %spychan
  unset %spyreport
  disable #spybot
}


maybe add a CTCP section so it replies to a certain ctcp if it is in remote mode

maybe something like

Code:

ctcp *:status:?:{
   ctcpreply $nick I am currently spying on %spychan and reporting to %spyreport
}


the above might be useless but i[m known tfor making useless stuff
xredxthornsx
Comments: 20
 
mIRC Snippet:  Channel Spy Bot
Posted on Sep 14, 2008 1:45 am
you might want to make it a trigger script for bots as well

Code:

on *:text:!spy*:#: {
/spy $1 $2
}

on *:text:!unspy*:#: {
/unspy
}



maybe make a yes no dialog to ask you if you want to set mode to +p

Instant message me snape about the dialog i know of a program that helps make dialogs ok i think i have givben all i can give i dont know if i even helped any i'm just a simple mIRC scripter and am just now getting back into IRC and mIRC
^Neptune
Comments: 318
 
mIRC Snippet:  Channel Spy Bot
Posted on Sep 14, 2008 5:16 am
Why would he need a dialog GUI when $input can do a yes/no dialog?
xredxthornsx
Comments: 20
 
mIRC Snippet:  Channel Spy Bot
Posted on Sep 26, 2008 12:43 am
forgot about $input
PunkTuReD
Comments: 112
 
mIRC Snippet:  Channel Spy Bot
Posted on Sep 26, 2008 1:11 am
if you cant join a channel

because of a ban, your bot will not get in either

because of your nick, just change your nick

but nice work
xredxthornsx
Comments: 20
 
mIRC Snippet:  Channel Spy Bot
Posted on Sep 26, 2008 3:31 am
Hmmm i think he told me earlier today that he never tested the script

Please Register or Login to start posting comments.
Bottom