|
> lua_dostring(state,"_STDOUT = tprint"); This doesn't work, because _STDOUT is a handle. You can't replace a handle with a function and expect things to work. Like I said before, you have to redefine print and write. Can I make myself clearer somehow? -- http://sc3d.org/rrt/ | humour, n. unexpected recognition