Thanks for the example, this might prove helpful for me too. But I do feel the API is lacking the ability to hook a script to the start and end of tournaments. It'd be nice to be able to extend the functionality of what happens when a tournament ends and rewards are paid out for example.