Shoutbox

Disable Script when chatting with people not using live messenger - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Disable Script when chatting with people not using live messenger (/showthread.php?tid=61551)

Disable Script when chatting with people not using live messenger by Stalkid on 06-26-2006 at 11:07 AM

Hi there^^

I found a script in this forum that makes me writing in two colors all the time.
Now those who don't use the live messenger always see numbers in the message...

Now what I want to ask is, is it possible to disable a script when I send a message to them?


Edit: Found it out myself, didn't know it was that easy^^"

function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
    if(Email == "guy1 || guy2 || guy3")
    {
    }
    else
    {
        var MsgOutput = null;
        MsgOutput= "[c=1]" + Message + "[/c=4]";

        return MsgOutput;
    }
}


Greetings
Stalkid


RE: Disable Script when chatting with people not using live messenger by mathieumg on 06-26-2006 at 11:56 AM

I don't think it is possible to detect that on the fly. You would have to use the /ping command, and still, you wouldn't know if they have Plus! Live or just Plus!


RE: RE: Disable Script when chatting with people not using live messenger by Stalkid on 06-26-2006 at 12:27 PM

quote:
Originally posted by mathieumg
I don't think it is possible to detect that on the fly. You would have to use the /ping command, and still, you wouldn't know if they have Plus! Live or just Plus!


That wasn't nessecary because I know who doesn't use mlm in my contact list. It aren't many so I could type the email adresses in myself :)
RE: Disable Script when chatting with people not using live messenger by Dally on 06-26-2006 at 04:14 PM

Hey I want to do something similar but the other way round.

Only a few ppl on my contact list use messenger plus live, so I
need a script that'll allow the gradient text script to be enabled for
only the contacts who use messenger plus live and disabled for the
rest. Using the script above will take wayyy too much time as I'll
have to enter so many email addresses.

Any help plz

Thx


RE: Disable Script when chatting with people not using live messenger by qgroessl on 06-26-2006 at 04:16 PM

quote:
Originally posted by Stalkid
mlm

WLM.... not MLM.... there is no such thing as MLM (probably the 10th person I've seen this from, don't know where they got it either.)