Capitalize
Platform: mIRC
Published Jul 26, 2007
Updated Dec 30, 2007
This script will the first letter of each sentence capitalized.
Just paste it in remotes, alt + r.
To exclude words, change the words in the %ex variable.
Thanks to atom_aw for the regsubex.
Enjoy.
on *:INPUT:*: {
if (/* !iswm $1) {
var %ex = lol|brb|bbl|wtf|ttyl
msg $target $regsubex($1-,/^(.)|([?!.:]s?(?!b(?: $+ %ex $+ )b).)/g,$upper(\1))
haltdef
}
}