What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Simple script Request :)

Simple script Request :)
Author: Message:
FlintAlt
New Member
*


Posts: 2
Joined: Apr 2008
O.P. Roll Eyes  Simple script Request :)
Hi,

Id like to ask if it would be possible for someone to create a simple script which adds a line breaker before and after my messages

e.g.

flint says:

Hello world

Flints friend says:
Hey

Thanks in advance !

Flint
04-22-2008 10:45 PM
Profile E-Mail PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Simple script Request :)
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
if(Message.substr(0,1) != "/" || Message.substr(0,1) != "!") return "\n" + Message + "\n";
}

paste that into a new script and there you go.

This post was edited on 04-23-2008 at 01:03 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
04-22-2008 11:26 PM
Profile PM Web Find Quote Report
FlintAlt
New Member
*


Posts: 2
Joined: Apr 2008
O.P. RE: Simple script Request :)
Thank you very much :)
04-22-2008 11:34 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Simple script Request :)
That breaks any plus command. You should check for a / (but not a //) and also for stuffplug a !. If it starts with these, don't change anything.
<Eljay> "Problems encountered: shit blew up" :zippy:
04-23-2008 12:45 AM
Profile PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: Simple script Request :)
quote:
Originally posted by SpunkyLoveMuff
That breaks any plus command. You should check for a / (but not a //) and also for stuffplug a !. If it starts with these, don't change anything.
updated code above

now only if flintalt would come back :tongue:
600! :spam:

This post was edited on 04-23-2008 at 01:05 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
04-23-2008 01:04 AM
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