This page is missing an entry for “Mode”, which is similar to “ClassName” in the SWEP Structure.
TOOL.Mode references the name of the tools .lua file as seen here: gmod_tool/stool.lua:136
Furthermore there seems to be no information about TOOL.LastMessage (gmod_tool/stool.lua:26) which appears to flash white when it is set to CurTime() (gmod_tool/cl_init.lua:91)
And last but not least, the variable TOOL.Message (gmod_tool/stool.lua:25) doesn’t seem to be used at all.
Anywhere.
Why? what’s it supposed to be for?
Oh and, it should definitely be written somewhere that you set the description of the tool with language.Add( “#tool.<lua_name>.desc”, “text here” )
Thanks guys~