Help me! |
Author: |
Message: |
rikimasse97
New Member
Posts: 14
– / /
Joined: Jul 2009
|
O.P. 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
Attachment: SCRIPT.ZIP (994.5 KB)
This file has been downloaded 67 time(s).
|
|
07-15-2009 01:52 PM |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
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 |
|
|
rikimasse97
New Member
Posts: 14
– / /
Joined: Jul 2009
|
O.P. RE: Help me!
sorry but how can I then?
|
|
07-15-2009 02:05 PM |
|
|
rikimasse97
New Member
Posts: 14
– / /
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 |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
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 |
|
|
rikimasse97
New Member
Posts: 14
– / /
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 repartooftware 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 |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
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 |
|
|
rikimasse97
New Member
Posts: 14
– / /
Joined: Jul 2009
|
O.P. RE: Help me!
Sorry but those highlighted what show?
|
|
07-15-2009 02:38 PM |
|
|
matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
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 |
|
|
rikimasse97
New Member
Posts: 14
– / /
Joined: Jul 2009
|
O.P. RE: Help me!
I can't delete certain things outlined
|
|
07-15-2009 02:43 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|