Ban/kick/time/Status counter
Platform: mIRC
Published May 26, 2009
Updated May 26, 2009
this script when you join gives the time of join (by timezone of mIRC with the bot running) visitor count (on joinn) when kicked it adds the kick say !listkicks and or !listbans to view the number of kicks/bans for the chan, in the code. just replace the <enter your chan here> with a chan (eg #mIRC) say !time for the time
;_____________________________________________________
; Time/Date/Visitor/kick/ban Count
;_____________________________________________________
on *:join:#<enter your chan here>: { inc %vstr 1 | notice $nick Welcome to $chan you (we have been visited %vstr times) | notice nick you have joined at the time $asctime }
on *:kick:#<enter your chan here>: { inc %kick 1 }
on *:text:!listkicks*:#<enter your chan here>: {
if ($nick isop #) { notice $nick current number of kicks for $chan is %kick }
if ($nick ishop #) { notice $nick current nunber of kicks for $chan is %kick }
if ($nick isreg #) { notice $nick only operators can use this command repeat attempts at controlling me will result in a ban }
}
on *:ban:#<enter your chan here>: { inc %ban 1 }
on *:text:!listbans*:#<enter your chan here>: {
if ($nick isop #) { notice $nick current bans for $chan is %ban }
if ($nick ishop #) { notice $nick current bans for $chan is %ban }
if ($nick isreg #) { notice $nick only operators can use this command repeat attempts at controlling me will result in a ban }
}
on *:text:!time:#: { notice $nick the time is $asctime }