Adds a function to Hooks. The given function is called every time the hook is triggered.
Higher priority hooks are executed first, if no priority is given it is set to 0.
Triggers the given (no return) hook. The first argument should be the trigger identifier.
The last argument should a table of variables, or an empty table.
Triggers the given (return) hook. The first argument should be the trigger identifier.
The second argument should be the starting value.
The last argument should a table of variables, or an empty table.
Returns the final value as a Type > String.