I'm confused, how are you going to know if it's the right nick if you don't know what the nick is?

Remember you can use $chat($nick), $chat(%nick), $chat($N) or whatever. "<nick>" is simply the field you have to check.