You can copy and paste some of these scripts at will. I think you'll find them fairly useful.

I

 This script keeps track of the maximum number of users you have seen in the channel you are in. If someone joins the channel and breaks the record this script will echo to the screen the information about the new record set. Also tells you if the record has been tied. It's kinda neat. :) Just paste this into your remotes section in mIRC.

; *** RECORD KEEPER by IMbeZOL and Thinko ***

on *:JOIN:#:{
  set %tempmax % [ $+ max $+ [ $chan ] ]
  if (( %tempmax < $nick($chan,0) ) || (%tempmax == $NULL)) {
    set % [ $+ max $+ [ $chan ] ] $nick($chan,0)
    echo $chan 9***7 $nick 9has set the 8new9 record for number of users on # $+ ! ***
    echo $chan 9*** There are currently8 $nick($chan,0) 9users on # $+ ! ***
  }
  else {
    if ( %tempmax == $nick(#,0) ) {
      echo $chan 9***7 $nick 9has 8tied9 the record for number of users on # $+ ! ***
      echo $chan 9*** There are currently8 $nick($chan,0) 9users on # $+ ! ***
    }
  }
  unset %tempmax
}
 

II

The following is a collection of misc little scripts for channel operators
Note that these have been written for use on the EnterTheGame irc network

i) retaliation for being deopped

on *:DEOP:#:{ if ($opnick == $me) {
  msg chanserv opme $chan
  msg $chan Hey, what's that for $nick
  timer 1 3 kick $chan $nick 9,1»8,1»7,1»4 $+ $me $+ 7,1«8,1«9,1« | mode $chan -ob+bb $nick $banmask $address($nick,3) $address($nick,2)
  timer 1 3 halt
  }
}

ii) retaliation for being kicked and banned from a channel that you are an op in

on *:KICK:#: {if ($knick == $me) { /msg chanserv inviteme $chan } {/join $chan }}
on *:ban:#:{
  if ($me isop $chan) {
    if ($banmask iswm $address($me,5) && $nick == $me) { mode $chan -b $banmask | halt }
    if ($banmask iswm $address($me,5)) {
      kick $chan $nick 9,1»8,1»7,1»4 $+ $me $+ 7,1«8,1«9,1«
      mode $chan -b+bb $banmask $address($nick,3) $address($nick,2)
      halt
    }
  }
}