Meaningful Shortcut Keys Listing.

 From:  BurrMan
2134.17 In reply to 2134.14 
with regard to a script line being in a js file.

If you just put "script:var dir = moi.view.lightDirection; if ( dir.x == 1 && dir.y == (.....continued....)" into a file named "fred.js" does it run by calling that file or does the js file need "other" properly formatted syntax to be functional?