ok scripting time again \:\)

Removed some debugging code (stupid me) an rearranged the vars which results in:

 Code:

Your solution passed all tests

KiXtart
KiXtart Version  = 4.60
KiXGolf Script   = kixgolf_cs.kix

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Check Scanning
Processing Start = 2008/04/16 16:23:54.218
Processing End   = 2008/04/16 16:23:54.234
Duration         = 0000/00/00 00:00:00.015
KiXGolf Score    = 841
 
Thank you for participating in KiXtart Golf!
_________________________
It's better to have scripted and died, then to never have scripted at all