I changed a IMDB script, to get the Director
http://pastie.org/543050
But he returns an error 13:58 wareztuga • [12:56] Tcl error [::imdb::public]: invalid command name "Francis Ford Coppola"
SOmeone can help me?
Code: Select all
return [list [string trim $name] $year [join $genre "/"] [string trim $tagline] [string trim $plot "\r\n\t| "] $rating $votes [string trim $runtime] [join $language "/"] [string trim $top]; [string trim $director " "]];
So the easy way to fix it, is to put that semicolon at the very end of the line. Or, simply get rid of it. It's not a requirement. To fix it simply copy the line exactly the way it is below.<speechles> .tcl set b [list this that the-otherthing; [string trim "recreated-problem"]]
<sp33chy> Tcl error: invalid command name "recreated-problem"
Code: Select all
return [list [string trim $name] $year [join $genre "/"] [string trim $tagline] [string trim $plot "\r\n\t| "] $rating $votes [string trim $runtime] [join $language "/"] [string trim $top] [string trim $director]];