on $*:TEXT:m/\!.*/iS:#:{
var %commands = commands.ini
var %cmd = $mid($1,2)
var %networkchan = $+($networkchan,-,$chan)
var %commandout = $readini(%commands,n,%networkchan,%cmd)
var %user = $mid($2,0,25)
if ($len(%commandout)) {
if ((%floodcom. +$ %cmd. [ $+ [ $chan ] ]) || ($($+(%,floodcom. +$ %cmd. [ $+ [ $chan ] ] $+ .,$nick),2))) { return }
set -u10 %floodcom. +$ %cmd. [ $+ [ $chan ] ] On
set -u20 %floodcom. +$ %cmd. [ $+ [ $chan ] ] $+ . $+ $nick On
msg # %user %commandout
}
}