As you are already putting out that you are using somebodys else hard work and trying to call it yours. Even the script engine is not yours. You could have used the script compiler for your game and given the users the benefit to alter the game you made. You should not use any script compiler - Lua, TinyC, or any oter script compiler to expose the functions of any body's else's creations.
Again I am telling you in BOLD LETTERS that stop such activity. It's ILLEGAL. PERIOD.