]-[ellBot ChanSpy

By Aurora801 on Jun 19, 2009

This bot is set up as a Channel Spy! It will report anything said in the channels it is in to ONE ROOM. As it states in the script, I claim all content, and any modifications must be cleared first. I do not give express permission on any modifications other than changing the report channel.
Image
Image

;-################################
;-#####Connorz Channel SpyBot#####
;-###########Build 1.0############
;-###########Use Info!############
;-You can only modify the Report channel. All material in this script is
;-claimed, and therefore not up for modification without explicit permission.
;-Modifications are Not acceptable other than Report channel. The defualt is #]-[ellPound.
;-#########End Use Info###########
on *:NICK: {
.msg #]-[ellPound $nick has changed their nick to $newnick $+ .
}
---------------
on *:JOIN:*: {
if ($chan = #]-[ellPound) Halt
.msg #]-[ellPound $nick has joined $chan $+ .
}
--------------
on *:PART:*: {
if ($chan = #]-[ellPound) Halt
.msg #]-[ellPound $nick has Parted $chan $+ .
}
--------------
on *:TEXT:*:*: {
if ($chan = #]-[ellPound) Halt
else .msg #]-[ellPound 4,1 $+ $chan 0,1 $+ $nick $+ : $1-
}
--------------
on *:ACTION:*:*: {
if ($chan = #]-[ellPound) Halt
else .msg #]-[ellPound 4,1 $+ $chan 0,1 $+ $nick 6,1[0,1Action6,1]: $1-
}
---------------
on *:QUIT: {
.msg #]-[ellPound $nick has quit the server.
}
-------------
on *:VOICE:*: {
if ($chan = #]-[ellPound) Halt
.msg #]-[ellPound $nick Voiced $vnick in $chan $+ .
}
--------------
on *:DEVOICE:*: {
if ($chan = #]-[ellPound) Halt
.msg #]-[ellPound $nick Devoiced $vnick in $chan $+ .
}
---------------
on *:OP:*: {
if ($chan = #]-[ellPound) Halt
else .msg #]-[ellPound $nick Oped $vnick in $chan $+ .
}
------------
on *:DEOP:*: {
if ($chan = #]-[ellPound) Halt
else .msg #]-[ellPound $nick Deoped $vnick in $chan $+ .
}
-------------
on *:MODE:*:
if ($chan = #]-[ellPound) Halt
else .msg #]-[ellPound $nick set Mode $1- in $chan $+ .
}
-------------

Comments

Sign in to comment.
Jethro   -  Jun 22, 2009

You can use one = or == they're the same difference.

 Respond  
blitzz   -  Jun 22, 2009

Maybe:

Better do ex: #channel

Ex: on *:text:#channel:{ (etc)

Sorry i just give 1 example. /me feel lazy to rewrite it. :)

 Respond  
Superior   -  Jun 21, 2009

One small mistake...

Mistake: if ($chan = #) {
Correct: if ($chan == #) {

 Respond  
Aurora801   -  Jun 20, 2009

@IRCchainScriptz, This script was actually something I had made for a server owner so they could keep tabs on room their not in by having a bot in it. And it sends all the lines, the ops, deops, messages, actions, and such, to one room. :] It took me some time for the actual color and testing, and to find a part where it was actually only the bot talking and showing room "spy" messages and not the bot users. But that's for the good comment! :]

 Respond  
irchainscriptz   -  Jun 20, 2009

Same principal as a @window logger!! And most IRC scripts have it..But nice code!

 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.