Is there a reason it has to have the "~" ?? If not, I'd suggest using just the ! but this will work if you don't care about the length or anything like that...

Ex:

You-> !addcom ~test THIS IS A TEST!
Bot-> Successfully created ~test!
You-> !~test
Bot-> THIS IS A TEST!

Code:
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
}


That's my fix with no sleep in me. If it's not acceptable I'll be around tomorrow to help you smile Between the two of us, we should be able to get it lol.