PDA

View Full Version : [Fixed] Auto-nuke error


SeVeN_2
08-29-2004, 09:48 AM
I have a error with auto-nuke tcl ... syntax error ?

In my tcl ...

###; syntax: {"/section" statsection creditsection multiplier warnmins nukemins}
set anuke(empty,sections) { {"/APPS" 0 0 3 1 2}{"/DVDR" 0 0 3 1 2}{"/MOVIES" 0 0 3 1 2}{"/GAMES-PC" 0 0 3 1 2}{"/CONSOLE" 0 0 3 1 2}{"/SERIES" 0 0 3 1 2}{"/MP3" 0 0 3 1 2} }
set anuke(missing,sections) { {"/APPS" 0 0 3 1 2}{"/DVDR" 0 0 3 1 2}{"/MOVIES" 0 0 3 1 2}{"/GAMES-PC" 0 0 3 1 2}{"/CONSOLE" 0 0 3 1 2}{"/SERIES" 0 0 3 1 2}{"/MP3" 0 0 3 1 2} }
set anuke(banned,sections) { {"/APPS" 0 0 3 1 2}{"/DVDR" 0 0 3 1 2}{"/MOVIES" 0 0 3 1 2}{"/GAMES-PC" 0 0 3 1 2}{"/CONSOLE" 0 0 3 1 2}{"/SERIES" 0 0 3 1 2}{"/MP3" 0 0 3 1 2} }
set anuke(allowed,sections) { {"/MP3/????" 0 0 3 10 20} }

Scheduler make a error file ...

08-29-2004 16:40:27 Scheduler event 'AutoNuke' returned error.


08-29-2004 16:40:27 "C:\io\scripts\ioAUTONUKE.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
list element in braces followed by "{"/DVDR"" instead of space
while executing
"foreach section $anuke(empty,sections) {
set browse [lindex $section 0]
if {[string match "*/\?\?\?\?" $browse]} {
set datetime [clock format [cloc..."
(procedure "autonuke" line 5)
invoked from within
"autonuke"
(file "C:\io\scripts\ioAUTONUKE.itcl" line 414)

whats the problem ?? :confused:

Thx :)

SeVeN_2
08-29-2004, 10:56 AM
After to put spaces between {"/APPS" 0 0 3 1 2} {"/DVDR" 0 0 3 1 2} ... other msg ...

--------------------------- ErrorInfo ----------------------------
wrong # args: should be "set varName ?newValue?"
while executing
"set anuke(missing,sections){ {"/APPS" 0 0 3 1 2} {"/DVDR" 0 0 3 1 2} {"/MOVIES" 0 0 3 1 2} {"/GAMES-PC" 0 0 3 1 2} {"/CONSOLE" 0 0 3 1 2} {"/SERIES" 0..."
(file "C:\io\scripts\ioAUTONUKE.itcl" line 53)


FIXED