Just as the script's name clearly implies, it allows you to set some sort of reward lotto into motion by using a single script call.
After it has granted the reward to the player, you can press the OK or Cancel button to return to the map. It could also close itself if no input is given.
How Does it Work?
You just need a simple script call to open the Reward scene.