I believe this is what you mean... Also, I just realized that I have it set up for my commands.ini file to have commands for 2 channels. So instead of
(commands.ini,n,command,$regml(1))
I have:
(commands.ini,n,NICKHERE,$regml(1))
not sure if thats going to make a difference though, because when I used the script you gave me I replaced commands with MYNICK. But, just wanted to point it out.
code I use to trigger !command
on $*:text:/^!(\S+)/:#:{
if ((%floodcom) || ($($+(%,floodcom.,$2),2))) { return }
set -u10 %floodcom On
set -u30 %floodom. $+ $nick On
if ($readini(commands.ini,n,commands,$regml(1))) msg # $v1
}