Sorry, a little tired. Meant to add that in...


Code:
on $*:text:/^!addcom !?(\S+)/iS:#:{
  if ($nick !isop #) { msg # Sorry $nick - You don't have permission to do that. } return
  writeini commands.ini # $regml(1) $$3-
  msg # $nick - The command $$2 has been added.
}

on $*:text:/^!delcom !?(\S+)/iS:#:{
  if ($nick !isop #) { msg # Sorry $nick - You don't have permission to do that. } return
  remini commands.ini # $regml(1)
  msg # $nick - The command $$2 has been removed.
}

on $*:text:/^!(\S+)/:#:{
  if ((%floodcom) || ($($+(%,floodcom.,$2),2))) { return }
  set -u10 %floodcom On
  set -u30 %floodcom. $+ $nick On
  if ($readini(commands.ini,n,#,$regml(1))) msg # $v1