Is it just me, or does sendChat not work with exact names with spaces: ie: sendChat('API','/w ken hello'); Works fine. but sendChat('API','/w "Ken L." hello'); Does not. However /w "Ken L." hello In chat will work perfectly. This matters more for getting exact names. Sure one could kick around the bush with: var to = name.substring(0,name.indexOf(' ')); var content = '/w ' + to + ' my message is hello' sendChat('API',content); That would side step the space issue where quotation makes are required, but it would fail for similar names. ie: John H. John B.