View/Edit #2237:notify_reactive

Switch to edit mode.

Name(s): notify_reactive
1:  notify = length(args) ? args[1] | {}
2:  result = 0
3:  if (task_id() == this.task_reactive)
4:    return
5:  else
6:    this.task_reactive = task_id()
7:  endif
8:  {caller = callers()[$][5], c_verb = callers()[$][2]}
9:  if ($code_utils:find_callable_verb_named(this, "react_" + c_verb) != -1)
10:   result = `this:("react_" + c_verb)(notify, caller, c_verb) ! ANY => "broke"'
11: endif
12: if (!result)
13:   return
14: elseif (result == "abort")
15:   return result
16: elseif (result == "broke")
17:   notify($eve, tostr("$eve_notify:react_", c_verb, " appears to be broke."))
18: elseif (result[1] == "sabotage")
19:   raise(result[2])
20: endif
21: "Last modified by Eve (#2633) on Mon Sep 11 19:31:40 2000 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Janette (#2633)

You are not logged in.

[home | help | who | search | setup | code]