What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Help me!

Pages: (2): « First [ 1 ] 2 » Last »
Help me!
Author: Message:
rikimasse97
New Member
*


Posts: 14
– / Male / Flag
Joined: Jul 2009
O.P. Huh?  Help me!
Hello everyone, I have just come on this forum. I have a problem when loading the script. debugging gives me an error: Error: Expected ')' (code: -2146827279)
        File: cl0915.js. Line: 323.
help me ... thanks!
I have attached a zip file with all files inside.
This script is in italian

.zip File Attachment: SCRIPT.ZIP (994.5 KB)
This file has been downloaded 68 time(s).
07-15-2009 01:52 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Help me!
You have the OnEvent_Initialize function inside of the OnEvent_ChatWndSendMessage function.
07-15-2009 02:00 PM
Profile E-Mail PM Find Quote Report
rikimasse97
New Member
*


Posts: 14
– / Male / Flag
Joined: Jul 2009
O.P. RE: Help me!
sorry but how can I then?
07-15-2009 02:05 PM
Profile E-Mail PM Find Quote Report
rikimasse97
New Member
*


Posts: 14
– / Male / Flag
Joined: Jul 2009
O.P. RE: Help me!
ok now I have done but I says:
Error: Expected ')' (code: -2146827279)
        File: NewsIlblogtecnologico.js. Line: 323.
07-15-2009 02:10 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Help me!
You need to remove the highlighted line. You notice also you have declared OnEvent_Initialize twice?

js code:

07-15-2009 02:14 PM
Profile E-Mail PM Find Quote Report
rikimasse97
New Member
*


Posts: 14
– / Male / Flag
Joined: Jul 2009
O.P. RE: Help me!
So okay?Anyway give me the error again! Test you!


code:
function OnEvent_ChatWndSendMessage(ChatWnd,Message){
   
    if(Message=="/nws"){
var xhr = new ActiveXObject("Microsoft.XMLHTTP");
var Shell = new ActiveXObject("WScript.Shell");
var getal = Math.round(Math.random() * 99999) + 1;
    xhr.open("GET", "http://www.blogtecnologico.altervista.org/pagina.php?id="+getal, false); xhr.send(null);
    if(xhr.responseText=="1"){
        MsgPlus.DisplayToast("News", "www.ilblogtecnologico.jimdo.com aggiornato nel reparto:Msn e MsgPlus", "", aprisito);
    }
    else if(xhr.responseText=="2"){
        MsgPlus.DisplayToast("News", "www.ilblogtecnologico.jimdo.com aggiotnato nel reparto:News", "", aprisito);
    }
    else if(xhr.responseText=="3"){
        MsgPlus.DisplayToast("News", "www.ilblogtecnologico.jimdo.com aggiornato nel reparto:Software Utili", "", aprisito);
    }
    else if(xhr.responseText=="4"){
        MsgPlus.DisplayToast("News", "www.ilblogtecnologico.jimdo.com aggiornato nel reparto:VideoGicohi ed Emulazione", "", aprisito);
    }
    else if(xhr.responseText=="5"){
        MsgPlus.DisplayToast("News", "www.ilblogtecnologico.jimdo.com LO SCRIPT è STATO AGGIORNATO!SCARICALO.", "", aprisito);
    }   
        else if(xhr.responseText=="6"){
        MsgPlus.DisplayToast("News", "www.ilblogtecnologico.jimdo.com nuovi cambiamenti!Visitalo", "", aprisito);
    }   
        else if(xhr.responseText=="7"){
        MsgPlus.DisplayToast("News", "www.ilblogtecnologico.jimdo.com nuovo reparto!Visitalo!", "", aprisito);
    }

    }
                 
                  }



This post was edited on 07-15-2009 at 02:21 PM by rikimasse97.
07-15-2009 02:19 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Help me!
I updated the script. Anything that is higthlighted I changed.

js code:


This post was edited on 07-15-2009 at 02:29 PM by matty.
07-15-2009 02:28 PM
Profile E-Mail PM Find Quote Report
rikimasse97
New Member
*


Posts: 14
– / Male / Flag
Joined: Jul 2009
O.P. RE: Help me!
Sorry but those highlighted what show?
07-15-2009 02:38 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Help me!
The lines that are highlighted is all what I changed in your script.
07-15-2009 02:42 PM
Profile E-Mail PM Find Quote Report
rikimasse97
New Member
*


Posts: 14
– / Male / Flag
Joined: Jul 2009
O.P. RE: Help me!
I can't delete certain things outlined
07-15-2009 02:43 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


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