Hi guys,
I was unable to select my character in the gateway screen, this was down to me having a special character such as an apostrophe. In fact I am able to fix the script you have written quite easily in two ways, one by escaping the char with a slash or the more preferred method as you don't allow quotation marks in character names would be to replace the quotes with double like the below example
client.characterSelect("Char' name");
For those who can't access their chars you can also just go the following page url:
http://gateway.playneverwinter.com/#char(CHARACTERNAME@ACCOUNTNAME)/
replace the names accordingly
Thanks,
Opdude