You can check the demo.c3p if you are having troubles to implement scoreboards. Basically, you just save them, and then can iterate over them with their respective ACEs.
demo.c3p