All Caps

Platform:  mIRC
Published  Dec 20, 2005
Updated  Dec 20, 2005
Add These To Your Remotes. Right Click In The Chat Window Then Turn All Caps On Or Off. When Turned On You Can Make The First Letter Of Everything You Say Be Caps. Kinda Like The Way I'm Writing This. on 1:INPUT:*: {
set %Var3 $1-
unset %Var1 %Var2
set %Var1 1 | set %Var2 $upper($mid(%Var3,1,1))
if ($mid(%Var3,1,1) == $chr(47)) { goto ServerCommand }
if ($len(%Var3) == 1) { set %Var2 $upper(%Var2) | say %Var2 | halt }
:Start1
inc %Var1 1
if ($mid(%Var3,%Var1,1) != $chr(32)) { set %Var2 %Var2 $+ $mid(%Var3,%Var1,1) | if ($len(%Var3) < %Var1) { goto Start1 } }
if ($mid(%Var3,%Var1,1) == $chr(32)) { set %Var2 %Var2 $+ $upper($mid(%Var3,%Var1,2)) | inc %Var1 1 | if ($len(%Var3) < %Var1) { goto Start1 } }
if ($len(%Var3) != %Var1) { goto Start1 }
say %Var2
halt
:ServerCommand
}
menu channel {
All 1st Letter Caps
.on { set %script true }
.off { unset %script }
}

Comments

Sign in to comment.
Jethro   -  Jun 17, 2011
loves.enough, you have another input event that interferes with this snippet. Place this snippet in a new remote and see how it goes.
 Respond  
loves.enough   -  Jun 17, 2011
dear why i gout double msg on channle . i write single but its automaticly double sent on channle
solve this problem plz

<PrInCe> 2hello hello helllo
<PrInCe> Hello Hello Helllo
 Respond  
KyleJack-Daniels   -  Feb 10, 2011
Very nice but i want this to be included with a colour script
 Respond  
itsmefahad   -  Jan 23, 2011
If we want first letter caps with bold & also with a color then what kind of change.
 Respond  
jakobLUVSpizza   -  Sep 02, 2008
thats really cool!
 Respond  
Jester   -  Dec 20, 2005
Thx...
 Respond  
CaRe_Taker   -  Dec 20, 2005
O_o nice :)
Good job
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.