def query_mapcell(): string = "THINGS_HERE " + str(world_data["map_center"][0]) + " " \ + str(world_data["map_center"][1]) send(string) world_data["look"] = ["(polling)"] world_data["look_scroll"] = 0
def command_quit(): send("QUIT") raise SystemExit("Received QUIT command, forwarded to server, leaving.")
def command_send(): int_string = "" if int_field: int_string = " " + str(world_data[int_field]) send(string + int_string)