DumpAllHooks()
Description
Section titled “Description”The DumpAllHooks function prints a list of the hooks in the system. The list is only shown in the System Monitor.
Arguments
Section titled “Arguments”This function does not accept any arguments.
Return
Section titled “Return”The function does not return anything. It does print a list in the system monitor.
![]() | Hint: |
| See also these related functions: HookObjectChange, Unhook, UnhookMultiple. |
Example
Section titled “Example”This example prints the list of hooks in the system monitor.
The system monitor shows what is happening at the station. This includes feedback on user commands. It logs the different things happening in the background. It also shows warnings, errors, and changes to the system. Learn more in the System Monitor topic.
| Copy CodeLua |
| ``` |
| return function() |
-- Dumps a list of all the hooks in the System Monitor.Printf("=============== START OF HOOK DUMP ===============")DumpAllHooks()Printf("================ END OF HOOK DUMP ================")end
