What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » help me out writing a script

Pages: (2): « First [ 1 ] 2 » Last »
help me out writing a script
Author: Message:
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. help me out writing a script
i've written a couple of js scripts for html files so i understand it a bit, i've read the scripting documents, but i want to write a script that adds a bunch of text like windows version tag and a gradient tag to the start and end of the message.
is there a tutorial or something to show me how to do something like that?

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














11-14-2006 07:09 AM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: help me out writing a script
Read: http://www.msgpluslive.net/scripts/view/13-Offici...ing-Documentation/

learn how to use: OnEvent_ChatWndSendMessage.

This post was edited on 11-14-2006 at 07:14 AM by matty.
11-14-2006 07:14 AM
Profile E-Mail PM Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: help me out writing a script
so it goes something like this?


[string] OnEvent_ChatWndSendMessage(
[object] ChatWnd,
[(!np)] [c=20] Message [/c=29]
  );

This post was edited on 11-14-2006 at 07:21 AM by Jarrod.

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














11-14-2006 07:20 AM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: help me out writing a script
no...

to make a script do what you want it is very simple

code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
  Message = 'stuff you want before the massage'+Message+'stuff after the message';
  return Message;
}
11-14-2006 07:24 AM
Profile PM Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: help me out writing a script
thanx  so much
i'm still trying to uderstand it but i'll get there
btw are there any other tutorials on msg plus scripting?

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














11-14-2006 07:27 AM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: help me out writing a script
well msgplus scripting uses JScript 5.6 (:P Eljay i got it this time)

so you might be able to find tutorials on that but im sure you would be able to learn from the scripting documentation or even other peoples scripts

but dont steal their code just learn from it (how it works)
11-14-2006 07:29 AM
Profile PM Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: help me out writing a script
thanx it' working

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














11-14-2006 07:59 AM
Profile E-Mail PM Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: help me out writing a script
could some1 tell me where to look for help on
or did i get it right?

if contact email = myemail
do function OnEvent_ChatWndSendMessage(ChatWnd, Message){
Message = '(!m)[c=4] \n'+Message+'[/c=12]';
return Message;
}

This post was edited on 11-14-2006 at 08:38 AM by Jarrod.

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














11-14-2006 08:32 AM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: help me out writing a script
umm what are you trying to do exactly???
11-14-2006 08:49 AM
Profile PM Find Quote Report
Jarrod
Veteran Member
*****

Avatar
woot simpson

Posts: 1304
Reputation: 20
– / Male / Flag
Joined: Sep 2006
O.P. RE: help me out writing a script
i'm trying to get the contacts display name apear in the window when they talk to me.
i understand they will need to install the script but i use nicknames so their display name does not show up and i want to add the display name to the conversation

so i want something like
(code)

var contact=get_contact-email()



if
contact== myemail
do
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
Message = '(!m)[c=4] \n'+Message+'[/c=12]';
return Message;
}

This post was edited on 11-14-2006 at 09:07 AM by Jarrod.

[Image: 5344.png]
[Image: sig.png]

A.k.a. The Glad Falconer














11-14-2006 08:52 AM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


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