What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Help creating my first script

Help creating my first script
Author: Message:
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
38 / Male / Flag
Joined: Jul 2006
RE: Help creating my first script
well the 10- in the forloop cant be good...


here try this

code:
function OnEvent_Initialize(MessengerStart)
{
}

function OnEvent_Uninitialize(MessengerExit)
{
}

function flash(){
for (i = 0; i < 10; i++) {
Messenger.MyName = "[c=40]" + contactsname + "[/c]";
Messenger.MyName = "[c=0]" + contactsname + "[/c]";
}
}

var contactsname = Messenger.MyName ;
var savedname = contactsname ;
contactsname = MsgPlus.RemoveFormatCodes(contactsname);


function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
if (Message == "!flash") {

flash();
Messenger.MyName = savedname ;
}
}


al i did was take it out of the OnEvent_Initialize(MessengerStart) function

This post was edited on 07-22-2006 at 05:48 PM by foaly.
07-22-2006 05:43 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help creating my first script - by edmarriner on 07-22-2006 at 05:31 PM
RE: Help creating my first script - by foaly on 07-22-2006 at 05:43 PM
RE: Help creating my first script - by Pai on 07-22-2006 at 05:51 PM
RE: Help creating my first script - by edmarriner on 07-22-2006 at 06:27 PM
RE: Help creating my first script - by The_Joker on 07-22-2006 at 06:32 PM
RE: Help creating my first script - by edmarriner on 07-22-2006 at 06:33 PM
RE: Help creating my first script - by The_Joker on 07-22-2006 at 06:38 PM
RE: Help creating my first script - by 4penguino on 07-22-2006 at 06:50 PM
RE: Help creating my first script - by Silentdragon on 07-22-2006 at 07:00 PM
RE: Help creating my first script - by Aeryn on 07-22-2006 at 09:28 PM


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