Logging Bot ^_^

By Xemnas on Apr 15, 2007

Well, This Is a logging bot.

Setup:
1.) Make a .txt file called IRCLOGS.txt, Make sure you save it in mIRC dir.
2.) Connect Your bot into any channel(s) ya want
3.) Load this script into your remotes.

on *:JOIN:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Has Joined $chan ( $network ) }
on *:PART:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Has Left $chan ( $network ) }
on *:TEXT:*:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Said: $1- In $chan ( $network ) } 
on *:ACTION:*:#:{ write IRCLOGS.txt [ $time $date $day 7007 ] $nick $1- on $chan ( $Network ) }
on *:OP:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Has Opped $2 In $chan ( $network ) }
on *:VOICE:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Has Voiced $2 In $chan ( $network ) }
on *:DEOP:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Has DeOpped $2 In $chan ( $network ) }
on *:DEVOICE:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Has DeVoiced $2 In $chan ( $network ) }
on *:BAN:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Has Banned $1- In $chan ( $network ) }
on *:UNBAN:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Has UnBanned $1- In $chan ( $network ) }
on *:KICK:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Kicked In $chan Because of $1- ( $network ) }
on *:NICK:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick changed there nick too $newnick in $chan ( $network ) }
on *:TOPIC:#:{ write IRCLOGS.txt [ $time $date $day 2007 ] $nick Changed The Topic in $chan too $1- ( $network ) }
}

Comments

Sign in to comment.
guest598594   -  Sep 22, 2007

ya cuz its not always gonna be 2007

 Respond  
Cazz   -  Sep 22, 2007

Useful script...I like it.
But instead of

$time $date $day 2007

you should change it to

$time(mm/dd/yyyy dddd)
 Respond  
Godzilla   -  Aug 17, 2007

Better if we use mirc\'s

 Respond  
Ghost-lit Warder   -  Aug 10, 2007

lol.

 Respond  
Lindrian   -  Aug 10, 2007

Orrrrrrr, you could just use mIRC\'s built in logging system xD

 Respond  
Ghost-lit Warder   -  Aug 09, 2007

You could just make the IRCLOGS.txt $chan $+ .txt so that it writes a log for the channel. (Late on the response)

 Respond  
Roy911   -  Apr 17, 2007

They should go in separate .txt files, or the entire thing goes into one which could make things confusing.

 Respond  
Xemnas   -  Apr 16, 2007

Oh, on on ACTION change the 7007 too 2007. -

 Respond  
Xemnas   -  Apr 16, 2007

Hmmm, Ty Solo. :D Yeah, I should put $fulldate AND, every log day I end, I should put session end, but .txt is ther best way for me, but the logging helps too tell me what happends in my chan when im at work/sleep.

 Respond  
Solo   -  Apr 15, 2007

Lindrian say i wanted to see all logs from ONe channel say #example i will have to filter through alot inorder to peace together a conversation etc.

 Respond  
Lindrian   -  Apr 15, 2007

Solo, theyre saved in a *.txt, the notepad already has a search function built in.
But u have a point, that about adding sections in the file?

 Respond  
Solo   -  Apr 15, 2007

another suggestion /help $fulldate

 Respond  
Solo   -  Apr 15, 2007

It would be very hard to search these logs as EVERYTHING is logged in one text file so a user cannot search specific channels easily. One suggestion maybe to implement a refined search feature with the script.

 Respond  
peterpowell   -  Apr 15, 2007

how about making

[ $time $date $day 2007 ]

into

 $chr(40) $+ $date $+ / $+ $time $+  $chr(41) 

so instead of showing

14:20:46 15/04/2007 Sunday 2007
it would show
(15/04/2007/14:20:07)
which in my opinion looks better

good work ;)

(another thing you could try is have it log to $active $+ .txt (unsure if this would work

 Respond  
Kardafol   -  Apr 15, 2007

mIRC\'s build in logging is better, as saurabh said.

Its better if we log in our mirc.exe itself :0

alt+o

IRC >> logging >> automaticallt log (choose both)

Fare and square easy

Try following his instructions, it\'s much more versatile than your logging script.

 Respond  
Xemnas   -  Apr 15, 2007

Ty, Flaze, Saurabh go to http://www.mirc.net/, Mirc help and tutorial\'s, etc.

 Respond  
S*A*U*R*A*B*H   -  Apr 15, 2007

Blah Blah

 Respond  
Xemnas   -  Apr 15, 2007

...It has too be a txt... you cannot log words on a mirc.exe, it is a program, not a notepad, also, if the logs are in the mirc dir, it is part of mirc.

 Respond  
DarkFlaze   -  Apr 15, 2007

Xemnas is serious about Scripting, Saurabh is not.

Anyway, Well done Xemnas, Nice script, works well too.

 Respond  
S*A*U*R*A*B*H   -  Apr 15, 2007

Its better if we log in our mirc.exe itself :0

alt+o

IRC >> logging >> automaticallt log (choose both)

Fare and square easy

 Respond  
Xemnas   -  Apr 15, 2007

All the logs go too IRCLOGS.txt, so to get logs read that <-- This is a comment for ALL retards.

 Respond  
Xemnas   -  Apr 15, 2007

If you have more idea\'s for this please submit, thanks. :)

 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.