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:
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: {help please} script disable
ok here you go
code:
var started = 0;
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message)
{
 
if(started==0)
  {
   
if(Message=='start!')
    {
      started=1;
      //code here for when started
    }
   
if(Message=='stop!')
    {
      ChatWnd.SendMessage('not started');
    }
  }
 
else if(started==1)
  {
   
if(Message=='stop!')
    {
      started=0;
      //code here for diabled
    }
   
if(Message=='start!')
    {
      ChatWnd.SendMessage('already started');
    }
  }
}

fixed the start! stop! codes

fix my code (i had mesage not message)

added some colour to help you out

This post was edited on 09-17-2006 at 02:15 AM by NanaFreak.
09-17-2006 01:53 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