View/Edit #8495:terminate_normal

Switch to edit mode.

Name(s): terminate_normal
1:  if (!index(string = args[1], "["))
2:    return string
3:  endif
4:  m = rmatch(string, this.terminate_regexp)
5:  while (string && m && m[2] == length(string))
6:    string = string[1..m[1] - 1]
7:    m = rmatch(string, this.terminate_regexp)
8:  endwhile
9:  return string && string + (m && string[m[1]..m[2]] != "[normal]" ? "[normal]" | "")
10: "Last modified by Vladmir (#3936) on Tue Apr 29 22:13:42 2003 MDT."

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

You are not logged in.

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