What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Script Work for One Account

Script Work for One Account
Author: Message:
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
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(/:D/gi,"=D").replace(/:O/gi,"=O").replace(/:P/gi,"=P").replace(/:-\#/gi,"=#").replace(/\(h\)/gi,"{h}").replace(/8-\|/gi,"8o)").replace(/\(brb\)/gi,"{brb}").replace(/\^o\)/gi,"=/").replace(/:S/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 :)
12-19-2007 03:40 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script Work for One Account - by Eddie on 12-19-2007 at 03:05 AM
RE: Script Work for One Account - by MeEtc on 12-19-2007 at 03:21 AM
RE: Script Work for One Account - by Eddie on 12-19-2007 at 03:34 AM
RE: Script Work for One Account - by prashker on 12-19-2007 at 03:37 AM
RE: Script Work for One Account - by Eddie on 12-19-2007 at 03:40 AM
RE: Script Work for One Account - by davidpolitis on 12-19-2007 at 05:01 AM
RE: Script Work for One Account - by aNILEator on 12-19-2007 at 05:29 AM
RE: RE: Script Work for One Account - by davidpolitis on 12-19-2007 at 05:34 AM
RE: Script Work for One Account - by aNILEator on 12-19-2007 at 05:36 AM
RE: Script Work for One Account - by Eddie on 12-19-2007 at 05:39 AM
RE: Script Work for One Account - by aNILEator on 12-19-2007 at 02:39 PM
RE: Script Work for One Account - by markee on 12-23-2007 at 12:01 PM
RE: Script Work for One Account - by aNILEator on 12-23-2007 at 12:07 PM
RE: Script Work for One Account - by markee on 12-23-2007 at 12:11 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On