any way it can be in this format and basically counteract this code?
on *:TEXT:!reg add*:#: {
if ($nick !isop #) {
write reglist.txt $$3
msg $chan $$3 has been added to the regular list!
}
if ($nick == TheYoungerGamer ) {
write reglist.txt $$3
msg $chan $$3 has been added to the regular list!
}
}
let me explain it a little better:
I would like there to be a !reg del [name] command, basically removing their name from my text file.
on *:TEXT:!reg add*:#: {
if ($nick isop #) {
write reglist.txt $$3
msg $chan $$3 has been added to the regular list!
}
}
}
I would just like to know what code would i replace with the write line to get it to erase that name.