C.10. $world->delhook

Abstract

$world->delhook function: DELetes a HOOK

$n = $world->delhook( event ,
  name );
 
$n = $world->delhook( event ,
  number );
 

Deletes the hook identified by the given number or name, connected to the specified event. If there are several hooks with the same name, deletes them all. Returns the number of hooks deleted.