View/Edit #2237:notify tell

Switch to edit mode.

Name(s): notify tell
1:  if (!args)
2:    return
3:  endif
4:  try
5:    notify = this:notify_parse(@args)
6:    mode = $modes:get_mode(this)
7:    if (mode in {"spoof", "time", "wrap", "cinfo"})
8:      notify = this:("notify_" + mode)(@notify)
9:    elseif (mode == "secure")
10:     return
11:   endif
12:   notify = $modes:flag_on(this, "strip_ansi") ? this:notify_strip(@notify) | notify
13:   notify = $modes:flag_on(this, "strip_html") ? this:notify_html(@notify) | notify
14:   this:notify_record(@notify)
15:   if ($modes:flag_on(this, "use_reactive"))
16:     result = this:notify_reactive(@notify)
17:     if (result == "abort")
18:       return
19:     endif
20:   endif
21:   if ($modes:flag_on(this, "use_renderer"))
22:     return notify
23:   else
24:     this:notify_basic(@notify)
25:   endif
26: except e (ANY)
27:   notify($eve, toliteral(e))
28: endtry
29: "Last modified by Janette (#2633) on Thu Aug  9 00:54:16 2001 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]