Eddie
Veteran Member
Posts: 2078 Reputation: 30
32 / /
Joined: Oct 2005
Status: Away
|
O.P. RE: Script Work for One Account
quote: Originally posted by SonicSam
function OnEvent_Initialize(MessengerStart){
if (Messenger.MyUserId == <your messenger ID>) {
//do stuff (code goes here If I'm not mistaken)
}
}
I keep getting an error with the script, here is what i did, i am a serious scripting nub sorry... code: function OnEvent_Initialize(MessengerStart){
if (Messenger.MyUserId == <my email addy>) {
function OnEvent_ChatWndSendMessage(pChatWnd,sMessage){
return sMessage.replace(/:\)/gi,"=)").replace(//gi,"=D").replace(//gi,"=O").replace(//gi,"=P").replace(/:-\#/gi,"=#").replace(/\(h\)/gi,"{h}").replace(/8-\|/gi,"8o)").replace(/\(brb\)/gi,"{brb}").replace(/\^o\)/gi,"=/").replace(//gi,"=S").replace(/:\|/gi,"=|").replace(/:\(/gi,"=(").replace(/:-\*/gi,"=*").replace(/:\$/gi,"=$").replace(/:\@/gi,"=@").replace(/\+o\(/gi,"=o(").replace(/8o\|/gi,"=o|").replace(/\(a\)/gi,"{a}").replace(/\(6\)/g
i,"{6}").replace(/\(co\)/gi,"{co}").replace(/\(e\)/gi,"{e}").replace(/\(t\)/gi,"{t}").replace(/\(i\)/gi,"{i}").replace(/\(mp\)/gi,"{mp}").replace(/\(p\)/gi,"{p}").replace(/\(\~\)/gi,"{~}").replace(/\(o\)/gi,"{o}").replace(/\(um\)/gi,"{um}").replace(/\(\%\)/gi,"{%}").replace(/\(xx\)/gi,"{xx}").replace(/\(au\)/gi,"{au}").replace(/\(ap\)/gi,"{ap}").replace(/\(so\)/gi,"{so}").replace(/\(y\)/gi,"{y}").replace(/\(n\)/gi,"{n}").replace(/\(yn\)/gi,"{yn}
").replace(/\(h5\)/gi,"{h5}").replace(/\(m\)/gi,"{m}").replace(/\(ip\)/gi,"{ip}").replace(/\(\#\)/gi,"{#}").replace(/\(r\)/gi,"{r}").replace(/\(\*\)/gi,"{*2}").replace(/\(st\)/gi,"{st}").replace(/\(pi\)/gi,"{pi}").replace(/\(b\)/gi,"{b}").replace(/\(d\)/gi,"{d}").replace(/\(c\)/gi,"{c}").replace(/\(\&\)/gi,"{dog}").replace(/\(\@\)/gi,"{@}").replace(/\(tu\)/gi,"{tu}").replace(/\(sn\)/gi,"{sn}").replace(/\(bah\)/gi,"{bah}").replace(/\(nah\)/gi,"{n
ah}").replace(/\(l\)/gi,"{l}").replace(/\(u\)/gi,"{u}").replace(/\(k\)/gi,"{k}").replace(/\(f\)/gi,"{f}").replace(/\(w\)/gi,"{w}").replace(/\(z\)/gi,"{z}").replace(/\(x\)/gi,"{x}").replace(/\(\{\)\(\}\)/gi,"{{}}");
})
}
}
This post was edited on 12-19-2007 at 03:41 AM by Eddie.
...there used to be a signature here
|
|