davidpolitis
Full Member
Posts: 371 Reputation: 16
Joined: Aug 2006
|
RE: RE: Script Work for One Account
quote: Originally posted by [b
markee[/b]]code: //write as many strings separated by commas as you want. have a single quoted string if you only want one.
var emails = new Array("<put your email address here","<a
second email address if you want","<want a third one as well>");
function OnEvent_ChatWndSendMessage(pChatWnd,sMessage){
for(i in emails){
if (Messenger.MyUserId == emails[i]){
return sMessage.replace(/:(?:\)|D|O|P|-\#|S|\||\(|-\*|\$|\@)|\((?:h|brb|6|co|a|e|t|i|mp|p|~|o|um|%|xx|au|ap|so|y|n|yn|h5|m|ip|#|r|\*|st|pi|b|d|c|&|@|tu|sn|bah|nah|l|u|k|f|w|z|x|\{\)\(\})\)|8-\|\^o\)|\+o\(|8o\|/gi,function($1){
if($1.charAt(0) === ":"){
$1.replace(/:-?/,"=");
}else if($1.charAt(0 === "("){
$1.replace(/\(|\)|\*|&/g,function($1){
switch($1){
case "(": return "{";
case ")": return "}";
case "*": return "*2";
case "&": return "dog";
}
}
}else{
switch($1){
case "8-|": return "8o)";
case "^o)": return "=/";
case "\+o(": return "=o(";
case "8o|": return "=o|";
}
}
});
}
}
}
This post was edited on 12-19-2007 at 02:17 PM by davidpolitis.
|
|