[12598] Avoid a possible crash using console
[12599] Improve npc chat command.
Now npc say hello $N will work as well as textemote and yell.
Also remove an uneeded test, Thank to Schmoozerd.