; This script will automatically set the limit of the channel to 10 more than the
; current nick compliment of the channel at the time the timer fires.
;
; It will do this for any channel you get opped in, so make sure that the ops
; in that channel don't mind you running it (i.e., if they already have a bot
; that does so).
on *:OP:#: if ($opnick == $me) $+(.timer,$chan) 0 600 SetLimit $chan
on *:DEOP:#: if ($opnick == $me) $+(.timer,$chan) off
on *:PART:#: if ($opnick == $me) $+(.timer,$chan) off
alias SetLimit .raw MODE $1 +l $calc($nick($1,0) + 10)