Haha, I find it hillarious that I never tried that one.. And #N IS the NPC name.
For example, the NPC "Sendtorc NPC" uses this command:
NPC Code:
sendtorc This is triggered by #N!;
This would show upon RC:
NPC Code:
(NPC Server): This is triggered by Sendtorc NPC!
By using #w, that would only work if its selected with the classic inventory.