isZoneAlarming

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

returns a boolean true or false depending if the zone the character or object is in is alarming.
see toggleZoneAlarming for more information.

mob example
setpr mob 1 every_1 # , # , msg_room(room(%c),'checking zalarm'), if (isZoneAlarming(%c), msg_room(room(%c),'yes'), msg_room(room(%c),'no') ), msg_room(room(%c),'zalarm checked'), return(true) @ obj example
setpr obj 1 on_zatest # , # , msg_room(room(%a),'checking zalarm'), if (isZoneAlarming(%a), msg_room(room(%a),'yes'), msg_room(room(%a),'no') ), msg_room(room(%a),'zalarm checked'), return(true) @