getting total points based in handicap

Hi,

Does anyone knows if anyone has developed a total score calculation based on the handicap?

I would like to use this on my X40