What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Script to make sent messages gradient

Pages: (4): « First [ 1 ] 2 3 4 » Last »
[Request] Script to make sent messages gradient
Author: Message:
t_pass6
New Member
*


Posts: 12
Joined: Jun 2006
O.P. [Request] Script to make sent messages gradient
Hello everybody,

I'd like to make a script that would make every message i send gradient, and i need some help.
Anyone has ideas?

This post was edited on 06-25-2006 at 03:05 PM by t_pass6.
06-25-2006 01:24 PM
Profile E-Mail PM Find Quote Report
vaccination
Veteran Member
*****

Avatar

Posts: 2513
Reputation: 43
32 / Male / –
Joined: Apr 2005
RE: Script to make sent messages gradient
In the conversation window click the Format panel icon then click the lil "T" in the top right coner of the format panel and select gradient, then select two colours you like and type your text and it will be sent in a gradient!

Hope this helps!
[Image: jumbled.png]
06-25-2006 01:49 PM
Profile PM Find Quote Report
Val
Senior Member
****

Avatar

Posts: 698
Reputation: 45
30 / Other / Flag
Joined: Jun 2004
RE: Script to make sent messages gradient
quote:
Originally posted by vaccination

In the conversation window click the Format panel icon then click the lil "T" in the top right coner of the format panel and select gradient, then select two colours you like and type your text and it will be sent in a gradient!

Hope this helps!
Vaccination, I think he knows how to do this but wants to have script that does this for every message he sends. Please read posts carefully next time.
Menthix:
Anonymous doesn\'t have a leader.
Anonymous is the leader of ShawnZ.

Max:
True. But deep down, we all know.
ShawnZ is incharge.
he is /b/ in human form.
06-25-2006 01:56 PM
Profile PM Web Find Quote Report
t_pass6
New Member
*


Posts: 12
Joined: Jun 2006
O.P. RE: Script to make sent messages gradient
That's exactly what i meant ValSpy. I know i have to make a script with OnEvent_ChatWndSendMessage, but i don't what to do next. Can someone help me?
06-25-2006 03:04 PM
Profile E-Mail PM Find Quote Report
mathieumg
Full Member
***


Posts: 181
Reputation: 2
34 / Male / Flag
Joined: May 2004
RE: Script to make sent messages gradient
You got to surround the sent message (Message variable) with the approriate gradient color tags ([c=#color1]Message[/c=#color2]) and return this value (so it is sent instead of the initial Message)
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
06-25-2006 03:07 PM
Profile E-Mail PM Web Find Quote Report
t_pass6
New Member
*


Posts: 12
Joined: Jun 2006
O.P. RE: [Request] Script to make sent messages gradient
Then i must do
Function OnEvent_ChatWndSendMessage(ChatWnd, ChatMsg)
{
ChatMsg = "[c=58]" + ChatMSg + "[/c=47]";
ChatWnd.SenMessage (ChatMsg);
}

Is This correct?
06-25-2006 03:19 PM
Profile E-Mail PM Find Quote Report
mathieumg
Full Member
***


Posts: 181
Reputation: 2
34 / Male / Flag
Joined: May 2004
RE: [Request] Script to make sent messages gradient
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
   var MsgOutput = null;
   MsgOutput= "[c=58]" + Message + "[/c=47]";

   return MsgOutput;
}


Try that

Edit: Just tested it and it works 100% ;)

This post was edited on 06-25-2006 at 03:22 PM by mathieumg.
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
06-25-2006 03:21 PM
Profile E-Mail PM Web Find Quote Report
t_pass6
New Member
*


Posts: 12
Joined: Jun 2006
O.P. RE: [Request] Script to make sent messages gradient
Thanks a lot!
06-25-2006 03:23 PM
Profile E-Mail PM Find Quote Report
mathieumg
Full Member
***


Posts: 181
Reputation: 2
34 / Male / Flag
Joined: May 2004
RE: [Request] Script to make sent messages gradient
No problem :) You're welcome
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
06-25-2006 03:24 PM
Profile E-Mail PM Web Find Quote Report
t_pass6
New Member
*


Posts: 12
Joined: Jun 2006
O.P. RE: [Request] Script to make sent messages gradient
Another question : I want to have different effects based on the contact i send messages to. I made a function to replace the message to avoid being redundant

here's the code i use :
var MsgOutput = null;
var Color1 = null;
var Color2 = null;
function Replace_Text(Color1, Color2, Message, MsgOutput)
{
    MsgOutput = "[c=" + Color1 + "]" + Message + "[/c=" + Color2 + "]";
}
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
    if (Contact.Email == xxxxx@xxxxxxx) {
        Color1 = "#010176";
        Color2 = "#2D0352";
        Replace_Text(Color1, Color2, Message, MsgOutput);
    }
    return MsgOutput;
}

But i can't start the script, i get an error. Has anybody ideas why?

This post was edited on 06-26-2006 at 08:52 AM by t_pass6.
06-26-2006 08:50 AM
Profile E-Mail PM Find Quote Report
Pages: (4): « First [ 1 ] 2 3 4 » 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