luaL_optstring
const char *name = (def) ? luaL_optstring(L, narg, def) :
return luaL_error(L, "%s", luaL_optstring(L, 2, "assertion failed!"));