I was wondering if there was a way to define what type() would print for meta objects (e.g, if we take back the example of the Colour in the SF tutorial, it'd print back "Colour" )
The17thDoctor: Server take me to the most handsome person srcds_linux: I cant send people to themselves...
The type() function isn't really the right place for user-defined type checking. I'd suggest either checking the metatable, or if you are protecting the metatable, use the __metatable value which getmetatable returns to hold your type name.