lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


If I'm not mistaken, you're actually seeing the return values for the
loadstring() chunk, not your print function.

Assuming your user code is very simple, you could do

  return print("stuff", "more stuff")

on the console or prepend a "return " to inCmd before loading.

For something more general maybe print could stuff the strings into a
table in parallel and you can snag that instead.