To use remove the nickname, you can use the /write -d command with the -w switch as well. I don't know how the text file is laid out, but if the only thing on each line is a nickname, you could use something like this:

/write -dw"nickname" yourfile.txt

-genius_at_work