What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Slight problem [Seems unsolvable, best forgotten]

Slight problem [Seems unsolvable, best forgotten]
Author: Message:
Red King
Junior Member
**


Posts: 21
– / Male / –
Joined: Feb 2007
O.P. Huh?  Slight problem [Seems unsolvable, best forgotten]
Hey sorry again but I need to bug you guys one more time about a script problem (I asked about one ages ago before)

I've made this script so far that links up to the Colorize script someone else made, I wanted to be able to use it without having to type /Colorize into every message:

code:
var blnEnabled = false;

function OnGetScriptCommands ()
{
    commands  = "<ScriptCommands>";
    commands +=     "<Command>";
    commands +=         "<Name>cstart</Name>";
    commands +=         "<Description>Start Auto Colorize</Description>";
    commands +=     "</Command>";
    commands +=     "<Command>";
    commands +=         "<Name>cstop</Name>";
    commands +=         "<Description>Stop Auto Colorize</Description>";
    commands +=     "</Command>";
    commands += "</ScriptCommands>";
    return commands;
}


function OnEvent_ChatWndSendMessage(ChatWnd, Message){
    switch (Message){
        case "/cstart":
            blnEnabled = true;
            return '';
        case "/cstop":
            blnEnabled = false;
            return '';
        default:
            if (blnEnabled == true){
            (Message.substring(0,1) != "/")
       return "/colorize "+Message;
   return Message;
}


But once I click apply it doesn't want to work for me, does anyone know where the problem here is and how to fix it? (somewhere in the bottom area because the enabler is something I used in many others)
I would very much appreciate any help given and again I'm sorry for having to bug you for help all over again on my second actual script I'm making >.<
I'm still learning but with some help I should eventually get the hang of it.

This post was edited on 04-19-2007 at 09:04 PM by Red King.
04-19-2007 07:41 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Slight problem [Seems unsolvable, best forgotten] - by Red King on 04-19-2007 at 07:41 PM
RE: Slight problem ^^; - by scott2010_h on 04-19-2007 at 08:15 PM
RE: Slight problem ^^; - by Red King on 04-19-2007 at 08:20 PM
RE: Slight problem [problem 1 solved, onto number 2] - by scott2010_h on 04-19-2007 at 08:57 PM
RE: Slight problem [problem 1 solved, onto number 2] - by Red King on 04-19-2007 at 09:02 PM
RE: Slight problem [problem 1 solved, onto number 2] - by scott2010_h on 04-19-2007 at 09:06 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