View/Edit #29:match_player_alias*es match_room_alias*es

Switch to edit mode.

Name(s): match_player_alias*es match_room_alias*es
1:  {string} = args
2:  db = verb[7..10] == "room" ? $room_db | $player_db
3:  multiple = verb[$ - 1..$] == "es"
4:  eobj = db:find_exact(string)
5:  objs = eobj == $failed_match ? db:find_all(string) | {eobj}
6:  if (multiple)
7:    return objs
8:  elseif (length(objs) == 1)
9:    return objs[1]
10: elseif (!objs)
11:   return $failed_match
12: else
13:   return $ambiguous_match
14: endif
15: "Last modified by manta (#7165) on Tue Sep 22 12:42:17 1998 EDT."
16: "This verb previously owned by manta (#7165), and chowned to $slacker upon dewizarding (Sat Aug 17 14:50:04 2002 MDT)."
17: "Last modified by Dax (#789) on Sat Aug 17 14:50:04 2002 MDT."

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

You are not logged in.

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