Here's the updated code. This works, however I have one last question. If I want to include text before the user's name (i.e. A: user), how can I do that?

on *:text:!remove *:#: {
if ($nick isop #) {
if (!$read(list.txt,nw,$2)) { msg $chan $2 is not in the list. | return }
elseif ($read(list.txt,nw,$2)) { msg $chan $2 has been removed from the list.
write -dl $+ $readn list.txt }
}
}