Yeah after a few dabbles i figured it out with this code

Quote:
on $*:text:/^!addcommand !?(\S+)/iS:#: {
if ($nick !isop #) return
writeini commands.ini commands $regml(1) $$3-
msg $chan /me The command $2 has been added.
}


for some reason it isnt showing the spaces but on the if command and remini there should be a space

Last edited by BullD0G; 27/02/15 04:02 PM.