toggleZoneAlarming

Settable:
no
Arguments:
(1) character, boolean
(2) object, boolean
Return Value:
boolean

returns a boolean true or false depending if the zone the character or object is in had its isZoneAlarming state changed.
Using the function on an already alarming zone to set the alarm will turn on zone alarm
will reset its timer before the zone alarm automatically stops. It does not stop it first!
see isZoneAlarming for more information.

mob example
setpr mob 1 every_death # , # , # This function will toggle a zone alarm on mob or pc death, # including the mob the mudl is running on, # , if (isZoneAlarming(%c), (), (toggleZoneAlarming(%c,true)) ), return(true) @ obj example
setpr obj 1 on_zatoggle # , # , # This function will toggle a zone alarm, # , if (isZoneAlarming(%o), (toggleZoneAlarming(%o,false)), (toggleZoneAlarming(%o,true)) ), return(true) @