Our attempt at a Scratch-like language for our game creation app Modbox: https://docs.modboxgame.com/docs/mbscript
It's definitely allowed non-programmers to make complex AI/game state for their creations, without having to deal with syntax errors or other issues. We choose Scratch/Blocky since this would be used for more managing states/logic, rather than flowing data (where node based makes more sense)