Scripting AoEII maps with a decent scripting language has long been a dream of mine. Current trigger editor is "hard to use and lacking" to put it politely. Python support in the map editor would be amazing.
It's an expert system. You can create if-then condtions. "If under attack, attack nearest enemy." It looks like lisp because every statement needs to be surrounded by parentheses, but it's not anything like lisp.
It's extremely limited, at least if you expect it to be a complete programming language. On the other hand, it's very easy to learn and use, which is what it's designed for.
The random map scripting is a programming language I believe. You can create scripts that generate maps.
It's something that kind of looks like lisp, but the only thing it has in common is the parentheses. You basically set condition→action rules, one level deep, with a limited amount of global-only "variables" (goals). I think the amount of conditions and actions per "rule" is limited, too.