![]() In actual practice it would not be necessary to send the whole line to $caps just whatever word needed to be capitalized. To easily add the alias to your alias section you can simplyĮnter in mIRC editbox => /alias caps return $regsubex($1-,/^(.)/S,$upper(\t))Įnter in editbox => //echo $caps(test first letter of first word is capitalized.) Regardless if that persons nick began with a capital letter.) (This would insure that any nick you selected would appear capitalized Usage: $caps(string of text or $nick or $1 etc)Įxample: Friend Pop-up:say $caps($1) is my friend! It is best used with custom pop-ups and response type events when you need to make sure the first word is capitalized for instance if you begin a sentence with a nickname (some people don't capitalize their nick).
0 Comments
Leave a Reply. |