on $*:text:/^!addcom !?(\S+)/iS:#:{
if ($nick !isop #) return
writeini commands.ini commands $regml(1) $$3-
msg # $nick command has been added.
}
on $*:text:/^!delcom !?(\S+)/iS:#:{
if ($nick !isop #) return
remini commands.ini commands $regml(1)
msg # $nick command has been removed.
}
on *:text:!editcom & *:#: {
if ($read(commands.ini, ns, $2)) {
writeini -l $+ $readini commands.ini $2-
msg # $nick command has been updated.
}
}
on $*:text:/^!(\S+)/:#:{
if ($nick !isop #) return
if ($readini(commands.ini,n,commands,$regml(1))) msg # $v1
}