by Joseph Roitman
On receiving an SMS that contains a keyword, set an alarm in the default clock app that will go off within a minute.
This can be useful for on-call shifts.
The keyword is set in the beginning variable block. It is case insensitive.
The alarm will go off within 10 to 70 seconds. This is due to alarms having minute resolution. Ten extra seconds were added to avoid a bug due to bad timings.
There is an option to limit the alarms to a certain time of day (e.g. from 12 AM to 8 AM). This option is disabled by default.