What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » {help please} script disable

{help please} script disable
Author: Message:
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
RE: {help please} script disable
I'm not the most efficient of programmers, but one way to do it is:
code:
var ScriptEnabled = false;

function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
   if(Message == "start!") ScriptEnabled = true;
   if(Message == "stop!") ScriptEnabled = false;
}

function <your function>(<your parameters>) {
   if(ScriptEnabled) {
      ... //Code goes in here
   }
}
You will need to repeat the last function for every function in your script.

This post was edited on 09-17-2006 at 02:01 AM by phalanxii.
09-17-2006 01:55 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
{help please} script disable - by skyserpent on 09-17-2006 at 01:40 AM
RE: {help please} script disable - by NanaFreak on 09-17-2006 at 01:53 AM
RE: {help please} script disable - by phalanxii on 09-17-2006 at 01:55 AM
RE: {help please} script disable - by skyserpent on 09-17-2006 at 02:01 AM
RE: RE: {help please} script disable - by phalanxii on 09-17-2006 at 02:06 AM
RE: {help please} script disable - by skyserpent on 09-17-2006 at 02:25 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