Auto-translated
Godric's Hollow, you've taken a phrase out of context, meaning you've extracted code from a function.
npc, func, and name were its parameters, and a description with an example of how to use them was provided in the link.
nil is one of the keywords in Lua; it has many different uses in code, and it's impossible to describe them all at once.
DISABLED_INTERACT, OBJECT_TOUCH_TRIGGER are named constants; their definitions can always be found near the function for which they are intended.
If the code of my function seems too complex, the point is not in it, but in the fact that all the necessary names of standard functions are given, both for disabling an object and for attaching its own handler to it. And this knowledge is already 90% of the solution to your problem.