You can add scripts to any application that you make.
You will need to make a game, then add a script engine / language and connect some functions from your game in that language. Then you can "script" your game.
Some open-source free engines are available here. I suggest you use SFML http://www.sfml-dev.org if you are using C ++.
- , - Macromedia Fusion GameMaker. .