+1 for the drag and drop thing, with some kind of code \"containers\" that have preset code, but are displayed in a simplified way.
Could even play a bit with limits, like having a basic AI block and an advanced one, basic one having room for 3 \"container\" long behaviors, and the advanced one...