Baystation12/Baystation12 — pull request #5727 by Decius-R (2014-07-22 02:44:50+00:00)
Title: Implements timed alerts...

Specifically, a new proc called "timed_alert" which may be called on either
a mob or a client. If it's called on a mob, the mob will call it on the
client. This is to allow this procedure to exhibit similar behavior to the
alert procedure.

When calling the procedure, one follows the following format:

timed_alert(question as text, title as text, default as text, time = 300, choice1 as text, choice2 as text, choice3 as text)

The two differences from alert are in the 'default' and 'time' variables.
For the time variable, one places how long before the popup will just time
out. For the default variable, one places the default result if the popup
times out.

This allows greater utility in a variety of situations-- One which immediately
comes to mind, and, truth be told, the reason why I looked into this at all
are cult runes. This would allow the conversion popup to have a natural
time-out, which, when elapsed, would cause the person to 'resist' naturally.
This is better because then people can't abuse just not answering the alert
to avoid the damage which comes from resisting.

Signed-off-by: Decius