Well this time i dont make a stupid script :P
if you are to lazy to open your remotes use this script
just type !add (script)
Example
(15:34:16) !add on *:text:!test1:#:{ msg $chan testing it }
(15:34:19) !test1
(15:34:19) <@Echelon> testing it
on *:TEXT:!add*:#:{ write createdcommands.mrc $2- | msg $chan script $2- created | load -rs createdcommands.mrc }
I think it'd be best to use regex and make sure the add of an event starts with > on *:event:otherwise any miscellaneous thing can be added. Here is what I mean:
on $*:TEXT:/!add (on \52\72\w+\72.*)/iS:#: {
write createdcommands.mrc $regml(1) | msg $chan script $regml(1) created | load -rs createdcommands.mrc
}