t = game.get_thing(game.sessions[connection_id], False)
game.io.send('LOG ' + quote(t.nickname + ': ' + msg))
cmd_ALL.argtypes = 'string'
def cmd_LOGIN(game, nick, connection_id):
for t in [t for t in game.things if t.type_ == 'player' and t.nickname == nick]:
t = game.get_thing(game.sessions[connection_id], False)
game.io.send('LOG ' + quote(t.nickname + ': ' + msg))
cmd_ALL.argtypes = 'string'
def cmd_LOGIN(game, nick, connection_id):
for t in [t for t in game.things if t.type_ == 'player' and t.nickname == nick]: