I don't know why, its got to be something stupid I'm doing! I get this error... TypeError: Cannot call method 'replace' of undefined at Object.d20.textchat.doChatInput ( and here is the actual command its running... sendChat("+D1 to Handling"); Thanks for all your help, I'm having some fun getting back into programming!!! Although this javascript is killing me with all their ({[, etc. :)