In previous makers, I would create script calls that users could use like this
do_something( arg1, arg2, ... )I would like to do this as well in MV.Since the script call command is evaluated globally, I won't be able to assume it's evaluated in the context of the interpreter, so I can't simply add them to the interpreter's prototype.
Some have suggested to include it in my own namespace
But that just seems like a lot of extra typing for end-users and people may choose not to use it in favor of another plugin that doesn't force them to type so much.
do_something( arg1, arg2, ... )I would like to do this as well in MV.Since the script call command is evaluated globally, I won't be able to assume it's evaluated in the context of the interpreter, so I can't simply add them to the interpreter's prototype.
Some have suggested to include it in my own namespace
Code:
TH.do_something( arg1, arg2)