What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » # help please

# help please
Author: Message:
general sirhc
New Member
*


Posts: 11
Joined: Oct 2007
O.P. # help please
ok i have already looked at the script help file but it doesnt really help so could some1 please tell me how to add a multi line character into a message.
EDIT:
code:
var Asterix
function OnEvent_ChatWndSendMessage( ChatWnd, Message )
{
if (Message=='Adon')
{
Contact = ChatWnd
if (Asterix=='off')
MsgPlus.DisplayToast("", "Adder is now on");
if (Asterix==null)
MsgPlus.DisplayToast("", "Adder is now on");
Asterix='on'
return ''
}
if (Message=='AdOff')
if (Asterix=='on'){
Asterix='off'
MsgPlus.DisplayToast("", "Adder is now " + Asterix);
return ''
}
if (Asterix=='on')
if (ChatWnd==Contact){
Message2="_  (¯   |  |¯¯)  |     |  /¯¯'  _"+
"¯  ._)  |  |¯¯\  |´¯`|  \__,  ¯"+Message+"_  (¯   |  |¯¯)  |     |  /¯¯'  _"+
" ¯  ._)  |  |¯¯\  |´¯`|  \__,  ¯";
return Message2
}
}
thats entire script i made it so it added * infront and behide what u say but now i've changed the script to show my name infront and behide the text

EDIT for eddie: Yer i did make this script and i dont want a multi line name i just want something infront and behide my text that is multilined

The main question is is how do i use the # to make a new line

This post was edited on 10-15-2007 at 05:02 AM by general sirhc.
10-15-2007 04:08 AM
Profile E-Mail PM Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
32 / Male / Flag
Joined: Dec 2004
RE: # help please
What's the name of the script?

Note: You can get multi-line nicknames with Mess Patch.

This post was edited on 10-15-2007 at 04:11 AM by Chris4.
Twitter: @ChrisLozeau
10-15-2007 04:11 AM
Profile PM Find Quote Report
Eddie
Veteran Member
*****


Posts: 2078
Reputation: 30
32 / Male / Flag
Joined: Oct 2005
Status: Away
RE: # help please
quote:
Originally posted by Chris4
What's the name of the script?

Note: You can get multi-line nicknames with Mess Patch.
I think thats a script they made, not one they found, im just getting that opinion on what they said *-) but yes, i advise mess patch :)
...there used to be a signature here :)
10-15-2007 04:35 AM
Profile PM Web Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: # help please
use "\n" for new line

This post was edited on 10-15-2007 at 05:16 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
10-15-2007 05:13 AM
Profile PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: # help please
Your code was bugging me to try and read so I fixed it up... and then decided to re do it all for you :p It's just a lot easier to understand like this (to me anyway)

code:
var Asterix = false;
var pre = "_  (¯   |  |¯¯)  |     |  /¯¯'  _¯  ._)  |  |¯¯\  |´¯`|  \__,  ¯\n";
var post = "\n_  (¯   |  |¯¯)  |     |  /¯¯'  _¯  ._)  |  |¯¯\  |´¯`|  \__,  ¯";
var Contact = new Array();

function OnEvent_ChatWndSendMessage(ChatWnd, Message){
    if(Message.substr(0,5)=="/adon"){
        Contact[ChatWnd.Handle] = true;
        return "";
    }
    if (Message.substr(0,6)=="/adoff"){
        Contact[ChatWnd.Handle] = false;
        return "";
    }
    if(Message.substr(0,8)=="/adallon"){
        Asterix = true;
        return "";
    }
    if (Message.substr(0,9)=="/adalloff"){
        Asterix = false;
        return "";
    }
    if (Asterix==true&&Message.substr(0,1)!="/"){
        for(var i in Contact){
            if(i==ChatWnd.Handle&&Contact[i]==true){
                return pre+Message+post;
            }       
        }
    }else{
        return Message;
    }
}
<Eljay> "Problems encountered: shit blew up" :zippy:
10-15-2007 09:50 AM
Profile PM Find Quote Report
general sirhc
New Member
*


Posts: 11
Joined: Oct 2007
O.P. RE: # help please
Nice work nice avatar only thing now is a way to change what is infront and behide while running messenger (an interface in other words)
10-17-2007 12:26 PM
Profile E-Mail 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