NAME remove_hook - generic info on removing hooks SYNOPSIS varargs int remove_hook(string hook_name, object obj) LOCATION /obj/hook.c and any object inheriting this. RETURN VALUE 1 on success, 0 on failure. DESCRIPTION This function removes a registered hook named 'hook_name' in an object. If the argument 'obj' is given, the hook will be un-registrated in that object, else it will be un-registrated in the object that called remove_hook. NOTE Objects residing in /open and /log cannot use hooks due to security reasons. SEE ALSO add_hook, query_hook, all the files /doc/hooks/* , /obj/hook.c
Help topics available:
You are guest number 101 since November 2019.
This file was last modified: June 2000.