Top

Cheiron`s Ban / Kick logging


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  3.0 (of 5 scores)
Date Added  Nov 16, 2007
Last Updated  Aug 09, 2009
Tags  ban  echo  kick  notice  window 

Introduction

This is a ban and kick logger that utilises seperate windows to show kicks and bans.
very useful if you are in high volume rooms with ops and have alot of kicks and bans.. if you go afk for extended time and come back .. you only need look in say @bans window to see what has happened when and then got to exact time on logs.

this loads up in a fresh new remotes window on your mirc. this was tested on mirc v6.35

when a @bans or @kicks window opens .. click it to view, then right click the tab itself .. @bans or @kicks then goto logging and turn on

then name the file and where it is to log.. and that is it done then :)




Grab the Code

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Cheiron's Kick and Ban logging system ;
; utilising 2 seperate custom windows   ;
; for ease of viewing and log finding   ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;       
;first the event which in this case is an on ban
on *:ban:#:{
;open a new window on mirc. we will call it @bans
 window @bans
;now to write the information in that window for easy later viewing using echo 
 echo -t @bans [ban logger] $nick set the following ban $1- against user $bnick on $time $date in $chan
;close the brackets at the end
} 
;same here but this is the kick event
on *:kick:#:{ 
 window @kicks
 echo -t @kicks [kick tracker] $nick kicked $knick from $chan on $date at $time 
}
 

Comments

  (8)  RSS
SpotRedDog
Comments: 80
 
mIRC Snippet:  Cheiron`s Ban / Kick logging
Posted on Nov 19, 2007 3:10 am
Its a nice small code very good looking!!! I will give it a try later on today and then rate it if it works as good as it looks you are well on your way to scripting with ease.

Nice Job and Keep It Up!!!
Cheiron
Comments: 616
 
mIRC Snippet:  Cheiron`s Ban / Kick logging
Posted on Nov 19, 2007 6:16 am
ty SpotRedDog. the script runs nice and stable from mIRC6.16 to the new mIRC6.31. i been using it for ages and have had no issues. only thing to watch with it, is if you have a pm blocker as theoritically you are receiving a pm from your own script and ergo the pm blocker will stop it. just remember to add your own nick to the pm bypass to allow it to run if this is the case.
Cheiron
brinxy
Comments: 29
 
mIRC Snippet:  Cheiron`s Ban / Kick logging
Posted on Nov 19, 2007 10:54 am
Seems it would work just fine. Although, there are a couple of things I'd like to see you improve on in this:
1) Try using /echo and stead of /msg $me. /help /echo
2) When coding, please don't use /'s. They tend to make the code look very sloppy.
3) What if you made this have a log function? Such as if you were away? That'd make this 10x better.
Very nice idea in this, I could see potential use.
Abtehi
Comments: 52
 
mIRC Snippet:  Cheiron`s Ban / Kick logging
Posted on Aug 17, 2008 11:38 pm
cheiron,

shouldnt you make it globally on notice instead of missing it from one channel to another...?
Cheiron
Comments: 616
 
mIRC Snippet:  Cheiron`s Ban / Kick logging
Posted on Aug 18, 2008 12:54 am
it will trigger no matter what channel you are in from whoever kicks or bans Abtehi. there is no fixed channel included. as i have logging enable on mirc, it will log every room that i am in, every kick and ban, who did it, in what room, etc
Abtehi
Comments: 52
 
mIRC Snippet:  Cheiron`s Ban / Kick logging
Posted on Aug 20, 2008 1:19 am
Thank you, great job :)
Cheiron
Comments: 616
 
mIRC Snippet:  Cheiron`s Ban / Kick logging
Posted on Jul 3, 2009 5:37 am
updated .. script now utilises seperate windows from the original self pm method.

updated .. seperate windows for kick and ban to avoid confusion when checking

updated .. made code easier to understand for newcomers to scripting with subnotes embedded

to do list - need help to get the @windows to log so can retrieve from logs using this format writeini -n logbans.txt / writeini -n logkicks.txt

thanks for the tips folks and look forward to the new reviews
Cheiron
Comments: 616
 
mIRC Snippet:  Cheiron`s Ban / Kick logging
Posted on Jul 4, 2009 3:53 pm
updates . logging for mirc users explained in the introduction
updates . added screenshots to show the script in use

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom