Moi + TopMod+...

 From:  Michael Gibson
894.19 In reply to 894.17 
Hi Mario, yes like Brian writes above I'm kind of confused by what you show there, are you showing screenshots from 2 different points in time where you tried different things?

Because the error message seems to show you had a command name with an underscore in it, while your keyboard shortcut does not seem to have an underscore in front.

The name you put for the command name of the shortcut key must match the filename of the .js file (everything in the name up to but not including the .js file extension).

When MoI gives a "reference error" like the one you posted, it means that it tried to look for a .js file of that command name in the commands folder but it was not able to find any such file, and so as a last resort it tried to run that text as direct script code which gives that error. But if you receive that it means you either don't have the name right in the shortcut key or did not copy the file into the right folder.

- Michael