What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQUEST]Need help on a personal script!

[REQUEST]Need help on a personal script!
Author: Message:
MattyEFC
New Member
*


Posts: 3
Joined: Aug 2008
O.P. [REQUEST]Need help on a personal script!
Right, Hi, first post here, a bit of a Newbie when it comes to scripting.
Right, What I want my script to do is, when I type '/Flash', I want it to type FLASHBANG! and close the conversation (/close).
Right, my question is, How on Earth, would I script it, so that, when I type /flash it does these things, I have got the hang of the rest, I just need help on this bit.
code:
function notify(msg){
    msg = MsgPlus.RemoveFormatCodes(msg);
    MsgPlus.DisplayToast("Flashbang Script!", msg, "");
}

function OnEvent_ChatWndSendMessage(ChatWnd,Message){

if(Message=="/flash"){

        <MESSAGES GO HERE>

        notify("You have just Flashbanged those Mofo's.")

        return'';

    }
   
}   

Thanks in advance, Guys! :)

This post was edited on 08-26-2008 at 01:54 AM by MattyEFC.
08-26-2008 01:53 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[REQUEST]Need help on a personal script! - by MattyEFC on 08-26-2008 at 01:53 AM
RE: [REQUEST]Need help on a personal script! - by MeEtc on 08-26-2008 at 01:58 AM
RE: [REQUEST]Need help on a personal script! - by MattyEFC on 08-26-2008 at 02:00 AM
RE: [REQUEST]Need help on a personal script! - by MeEtc on 08-26-2008 at 02:05 AM
RE: [REQUEST]Need help on a personal script! - by MattyEFC on 08-26-2008 at 02:08 AM
RE: [REQUEST]Need help on a personal script! - by matty on 08-26-2008 at 04:36 AM


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