on *:TEXT:!cmd*:#: {
if ($nick isop #) {
if ($2 == add) {
write -c txt\ $+ $+(#,.,$3,.txt) $$4-
write txt\ $+ $+(#,.,commandlist.txt) $3
msg $chan Command added.
}
if ($2 == remove) {
remove txt\ $+ $+(#,.,$3,.txt)
msg $chan Command removed
}
}
}
on *:TEXT:!*:#: {
msg $chan $read(txt\ $+ $+(#,.,$1,.txt))
}