Hello
I modified the script to add a checking.
If the sentences finish by one "?","!","+" or ".", the script does not add the ".".
Edit your script :
code:
function OnEvent_ChatWndSendMessage(pChatWnd, sMessage){
if ( sMessage.charAt(sMessage.length - 1) == "?" || sMessage.charAt(sMessage.length - 1) == "!" || sMessage.charAt(sMessage.length - 1) == "." || sMessage.charAt(sMessage.length - 1) == "+" ){
sMessage = sMessage.substr(0,1).toUpperCase() + sMessage.substr(1)
}
else {
sMessage = sMessage.substr(0,1).toUpperCase() + sMessage.substr(1) + '.'
}
return sMessage;
}