Wikipedia:Scripts/Tea time

From Wikipedia, the free encyclopedia

[edit] Tea time., Version 1.2

; Tea time., Version 1.2
; Makes you talk like this. On IRC. 
; Ex: i'm using the internet changes to I'm using the Internet.
; Spell check soon..
; Version 1.2 prevents the script adding punctuation to lines with URLs ([[Wikipedia talk:Scripts#the Talk. Like. This. script....|see talk]])
; Inspired by IRC User Austin
; Licensed under the MIT Licence.

 on *:INPUT:#: { 
   if (/* iswm $1) || (http:// isin $1-) { $input }
   elseif (($asc($right($1-,1)) > 96) && ($asc($right($1-,1)) < 123)) || (($asc($right($1-,1)) > 64) && ($asc($right($1-,1)) < 91))  || ($right($1-,1) isnum) {
     msg $active $+($upper($left($1-,1)),$right($1-,-1),.) 
     haltdef
   }
 }