For me, the scripts don't work at all, even though I enter them correctly. (I'm using the HoMM5 MapScriptEditor program)
Added 1 minute ago
I came across an FAQ. Maybe it will help me
Added 16 hours ago
A miracle!
Firstly, the script editor opened in the map editor and didn't crash (!).
Secondly, the scripts themselves started working. It seems I was making a mistake somewhere.
ColouredText - список заклинаний и их уровень в описании существ-колдунов