Chris4 
Elite Member 
     
  
  
 
Posts: 4460 Reputation: 84 
34 /   /   
Joined: Dec 2004 
 | 
 RE: RE: [release] CrazyText v0.3
quote: Originally posted by Mattike 
code: Original from the Timezone script 
var EmoCI = /(:((-?(\)|D|>|O|P|\(|<|@|S|\$|\||\[)|-(\*|#))|'\()|;-?\)|\([A-IK-PRTUW-Z068@&{}#%*~^]\))/i 
var EmoCS = /(8(o\||-\))|<:o\)|\+o\(|\((brb|pi|\|\||sn|bah|tu|pl|ip|li|st|um|co|mp|ap|au|so|ci|yn|h5|xx|mo)\))/ 
if(EmoCI.test(Message) || EmoCS.test(Message)) { 
   //There are emoticons in the message 
   //Here you will have to find a way to not replace emoticons, good luck! 
} else { 
   //There are no emoticons in the message 
}
  
  Better ask  Shondoit first.  
 |   
 |