Switch to edit mode.
Name(s): tell_who1: 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