Change get_player(server, name) into script.get_player(name) and refactor tnutz' code