Let me clarify that I understood what you want first.

You want to ban a certain user, AND put his name in a list of banned people.
But you only want the command to trigger IF the $nick writing the command is in a text file "reglist.txt" on your desktop?