I got a mod where it would automatically punctuate your sentence when you type, but it's not working. Please help?
The 'client.cs' without any ''s
//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
//Title: Punctuation
//Author: Secton
//Description: Punctuates for you.
//Summery: Adds some Punctuation for you.
//Licence: Free
//=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
package Punctuation
{
function GlobleChat(%clanPre, %name, %clanSuf, %Msg)
{ //run it though the filter
strreplace(%Msg,nt,"n't");
//This replaces "nt" with "n't"
%LwrI = getWord(%Msg, i );
//find a lowercase I...
%UprI = strUpr(%Ilwr);
//Turn it upercase
strreplace(%Msg,%LwrI,%UprI);
//Apply it to %msg
strreplace(%Msg,youre,"you're");
//make sure you're has "u're" in it
strreplace(%Msg,Im,"I'm");
//its I am, not Im.
parent::GlobleChat(%Msg);
//Do all the other stuff you do.
}
};
ActivatePackage(Punctuation);
And the description.txt
Title: Punctuation
Author: Secton
Automatic Punctuation for you