How can I get the strict module working with MC's built-in
functions, such as Note? Using this very simple
script file generates an error:
And the error generated is:
functions, such as Note? Using this very simple
script file generates an error:
require "strict"
Note("test")
And the error generated is:
Error number: 0
Event: Run-time error
Description: [string "Script file"]:2: variable 'Note' is not declared
stack traceback:
[C]: in function 'error'
C:\Program Files\MUSHclient\lua\strict.lua:31: in function <C:\Program Files\MUSHclient\lua\strict.lua:29>
[string "Script file"]:2: in main chunk
Called by: Immediate execution