Nucleus handler tools βΊ Docs βΊ Checks
A name that doesn't exist
Why it matters
Nothing declares this name and Nucleus doesn't provide it: a typo, a stray word or a variable from another handler. Reading it throws "<name> is not defined": at the top level the handler fails to load, in Game.Play the session ends. Inside a function nothing in the handler calls, it's only a warning: that code never runs until something calls it.
Example
β Wrong
Game.Play = function () {
var args = "-w " + widht;
};β Right
Game.Play = function () {
var width = Context.Width;
var args = "-w " + width;
};How to fix it
Fix the spelling (the problem suggests the closest name) or declare the variable first.
Turn it off, or change how it shows
Each check can be shown as an error, warning, info or hint, or turned off. VS Code: "splitscreenme.lint.rules": { "undefined-name": "off" } in your settings. Notepad++: Plugins βΊ Nucleus Co-op handlers βΊ Settings. Command line: ncdev lint --rule undefined-name=off. Other editors: the lint.rules setting of ncdev lsp.