Sentence completer.

By Macintosh on Nov 12, 2005

Add this code to remotes.
When you type /c "something something"
it will go to the channel as "Something something."
giving the sentence a capital and a fullstop.

alias c {
  var %p = $calc($len($1-) - 1)
  msg $active $upper($left($1-,1)($gettok($1-,1,49))) $+ $lower($right($1-,%p))($gettok($1-,1,49) $+ .
}

Comments

Sign in to comment.
Son_Goku   -  Nov 21, 2005

Very nice. :P

 Respond  
Macintosh   -  Nov 14, 2005

Cheers.

 Respond  
Sasuke   -  Nov 13, 2005

Could get rid of the // behind the msg, otherwise good.

 Respond  
Raid   -  Nov 13, 2005

Thats cool it makes me look like I can type better. Should try to add something so it replaces an i with an I only when it should be.

 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.