View/Edit #1982:tell_exits

Switch to edit mode.

Name(s): tell_exits
1:  "Copied from Generic Super-Enhanced Room (#6886):tell_exits by Raptor (#6319)Sep 19 10:35:37 2001"
2:  all = {}
3:  for x in (this:exits())
4:    if (x.obvious)
5:      all = {@all, x}
6:    endif
7:  endfor
8:  player:tell("Exits:")
9:  if (!all)
10:   if (this:msg_noexits())
11:     $msg:mtell("noexits")
12:   else
13:     return
14:   endif
15: endif
16: for x in (all)
17:   $msg:mtell("pueblo_exit", $string_utils:capitalize(x:title()), x.dest)
18: endfor
19: "Last modified by whiz (#3135) on Wed Sep 19 10:52:05 2001 MDT."

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

You are not logged in.

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