What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Gradient text problem

Gradient text problem
Author: Message:
Llama_dude
Junior Member
**

Avatar
malal s rae regat! uyo hinket?

Posts: 17
Reputation: -1
– / Male / –
Joined: Jun 2006
O.P. Gradient text problem
Right, i wrote my self a script for gradient text, only problem being, people with out windows live plus, cant understand me, because ofthe colour codes infrotn and at the end of the text. And also, i cant send sounds when i have gradient text on.

here is my script :

function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
var MsgOutput = null;
MsgOutput= "[c=4]" + Message + "[/c=3]" ;

return MsgOutput;
}

I was wodnering if you guys could edit it so it only sends gradient to certain contacts( obviously i can write the addresses in the code myself) and if theres a way to send sounds aswell as using gradient text.
Oh, and if possible, i heard theres a fancy little feature that makes the gradient text go from one colour to another, the nback to the original?

I'd be grateful for a little help.
Thanks
07-01-2006 09:31 PM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Gradient text problem
Any formatting codes in a /sound will mess up the sound message format.
[Image: spartaafk.png]
07-02-2006 12:05 AM
Profile PM Web Find Quote Report
Llama_dude
Junior Member
**

Avatar
malal s rae regat! uyo hinket?

Posts: 17
Reputation: -1
– / Male / –
Joined: Jun 2006
O.P. RE: Gradient text problem
oh right, ok, thanks.
Is there a way to send gradient to certain contacts though?
07-02-2006 11:51 AM
Profile PM Find Quote Report
crank
Full Member
***

Avatar
Failed to come back here :(

Posts: 304
Reputation: 17
34 / Male / Flag
Joined: Mar 2004
Status: Away
RE: Gradient text problem
i got a extensive script for this but at this time the way of configurn it is with regedit

a quick fix for commands is like this:
code:
var SendUnaltered;

if (Message.charAt(0) == "/")
{
    sendUnaltered = true;
}
if (Message.charAt(0) != "/")
{
    Color1 = Math.floor(Math.random() * Color_Max);
    Color2 = Math.floor(Math.random() * Color_Max);

    return Parse_Text(Color1, Color2, Message);
    sendUnaltered = false;
}
if(sendUnaltered)
{
    return(Message);
}

Quickly copy pasted and editted a bit so i don't know about errors

This post was edited on 07-02-2006 at 12:05 PM by crank.
I haven't been active here in ages.
If you're wondering who i am, read my reputations. I used to make plugins, skins and spam the IRC channels here back in the good old days before Windows Live.
07-02-2006 11:58 AM
Profile E-Mail PM Web Find Quote Report
Llama_dude
Junior Member
**

Avatar
malal s rae regat! uyo hinket?

Posts: 17
Reputation: -1
– / Male / –
Joined: Jun 2006
O.P. RE: Gradient text problem
now ive lost my code completely. can anyone help me out on the basic gradient code?

sorry for being so demanding, lol
07-02-2006 01:13 PM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Gradient text problem
crank, your code sucks tbh. I mean, no else, the use of a boolean when unecessary, and an unreachable statement!
code:
if (Message.charAt(0) == "/") return(Message);
Color1 = Math.floor(Math.random() * Color_Max);
Color2 = Math.floor(Math.random() * Color_Max);
return Parse_Text(Color1, Color2, Message);

is how it should look.

Edit: From 10 lines to 4!

This post was edited on 07-02-2006 at 02:31 PM by RaceProUK.
[Image: spartaafk.png]
07-02-2006 02:30 PM
Profile PM Web 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