You learn UnrealScript mainly by reading other people's code. Removing code without an important reason (download size reduction and lack of helpfulness are not important in that sense) is extremely antisocial IMHO.
([Captures*2] + [Flagkills*2] + frags) / timeplayed Excluding players with less than 40 capturesOr just Points/Timeplayed cuz the points are already programmed considering the important aspects of the game
but more than that will take a lot of thought