Code:
if (nick isreg chan) { ... }

isreg ... nickname v1 is a normal nick (no-@, no-%, no-+ ect.) on channel v2