On Sat, Nov 16, 2013 at 3:52 PM, Andrew Starks <andrew.starks@trms.com> wrote: > lua_setuservalue(L, 8); //position 8 is where your user value was. Sorry this should read: lua_setuservalue(L, 8); //position 8 is where your userdata was.