What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Auto-text background in chat.

[Request] Auto-text background in chat.
Author: Message:
Slacker
New Member
*


Posts: 5
Joined: Oct 2006
O.P. [Request] Auto-text background in chat.
Hi,

Could anybody please make a script that auto adds: "[a=1]" to the start of everything said and "[/a]" to the end. I think it should be pretty simple, i've tried myself but I have very limited programming knowledge, so I have been unsucsefull. Could somebody please make this script, I would be very thankful.

Thanks in advance.
10-06-2006 09:37 AM
Profile E-Mail PM Find Quote Report
Sypher
Senior Member
****

Avatar

Posts: 623
Reputation: 15
36 / Male / Flag
Joined: Apr 2003
RE: [Request] Auto-text background in chat.
How could a script now when you've reached the end and want to stop typing? :)
Messenger Plus Beta Tester
Plus! Live Faq Maintainer
10-06-2006 01:15 PM
Profile PM Find Quote Report
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: [Request] Auto-text background in chat.
quote:
Originally posted by Sypher
How could a script now when you've reached the end and want to stop typing?
simple, it adds both on after the send button is pressed, and before it is actually sent
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
10-06-2006 01:17 PM
Profile PM Web Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
37 / Male / Flag
Joined: Jul 2005
RE: [Request] Auto-text background in chat.
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
if (Message.charAt(0) != "/") Message = "[a=1]" + Message + "[/a]";
return Message
}
DON'T use it with black text for obvious reasons ;)

This post was edited on 10-06-2006 at 02:18 PM by Jesus.
10-06-2006 01:26 PM
Profile PM Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
36 / Male / –
Joined: May 2004
Status: Away
RE: RE: [Request] Auto-text background in chat.
quote:
Originally posted by Jesus
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
    Message = "[a=1]" + Message + "[/a]";
    return Message;
}
DON'T use it with black text for obvious reasons ;)

Note, that will mess up all commands, sounds, etc.

This post was edited on 10-06-2006 at 01:33 PM by alexp2_ad.
10-06-2006 01:30 PM
Profile E-Mail PM Find Quote Report
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
37 / Male / Flag
Joined: Jul 2005
RE: [Request] Auto-text background in chat.
quote:
Originally posted by alexp2_ad
quote:
Originally posted by Jesus
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
if (Message.charAt(0) != "/") Message = "[a=1]" + Message + "[/a]";
return Message
}
DON'T use it with black text for obvious reasons ;)

Note, that will mess up all commands, sounds, etc.

you're right, corrected it now

This post was edited on 10-06-2006 at 02:19 PM by Jesus.
10-06-2006 02:09 PM
Profile PM Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
36 / Male / –
Joined: May 2004
Status: Away
RE: RE: [Request] Auto-text background in chat.
quote:
Originally posted by Jesus
quote:
Originally posted by alexp2_ad
quote:
Originally posted by Jesus
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
if (Message.charAt(0) != "/") Message = "[a=1]" + Message + "[/a]";
return Message
}
DON'T use it with black text for obvious reasons ;)

Note, that will mess up all commands, sounds, etc.

you're right, corrected it now

And that won't work for //, but that's not often a problem. :P
10-06-2006 02:28 PM
Profile E-Mail PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: [Request] Auto-text background in chat.
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
    if (Message.charAt(0) == "/")
    {
        if(Message.charAt(1) == "/") {
            Message = "[a=1]" + Message + "[/a]";
        }
    }
    else {
        Message = "[a=1]" + Message + "[/a]";
    }
    return Message
}


That code would allow // also :)

This post was edited on 10-06-2006 at 02:36 PM by vikke.
10-06-2006 02:35 PM
Profile E-Mail PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
35 / Male / Flag
Joined: Jan 2006
RE: [Request] Auto-text background in chat.
You could have just used [Release] Gradient text v3.00 and just have only used the background parts.  This also means that anyone else who might use your computer won't have an automatic background as well as there being lots more features
[Image: markee.png]
10-07-2006 05:02 AM
Profile PM Find Quote Report
« 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