View/Edit #1866:tell_who

Switch to edit mode.

Name(s): tell_who
1:  contents = this:contents()
2:  if (this.dark)
3:    return
4:  endif
5:  players = {}
6:  for x in (contents)
7:    if (is_player(x))
8:      players = {@players, x}
9:    endif
10: endfor
11: if (!players)
12:   $msg:mtell("other_player_none")
13: elseif (length(players) == 1)
14:   $msg:mtell("other_player_sing", players[1])
15: else
16:   $msg:mtell("other_player_plur", players)
17: endif

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

You are not logged in.

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