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 MeEtc
for all of the event functions, you'll have to put all of the code within an if statement
code: function OnEvent_Initialize(MessengerStart){
if (Messenger.MyUserId == <your messenger ID>) {
//do stuff
}
}
So for every function i must do that? :/ isn't there a simpler one that effects the who script? thanks though.
This is the old Replacer script with Animoticons... code: 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,"{{}}");
}
where would i put the script you provided? lol
This post was edited on 12-19-2007 at 03:36 AM by Eddie.
...there used to be a signature here
|
|