Blocks the unit in the current state or value and will not allow other scripts to change the state or value of the unit until it is unblocked.
block unit (name of unit)
in (integer, creates a scheduled event to block the unit in this many seconds)
for (integer, creates a scheduled event to unblock the unit in this many seconds)
block unit "bedroom motion" for 2 * hours
This verb allows a script to prevent any other script from issuing a command to either a single unit/address or a group of units. Thus, scripts can be written for sensors which always turn on lights or sound alarms regardless of other conditions. You then write scripts which block or unblock units or grops according to time of day, daylight, password entry, etc.
the “force on/off” verbs are specifically provided to override the blocking function.