Try using the KnowHeroSpell(heroName, spell) function;
I haven't used it, but I recommend trying it. Example:
KnowHeroSpell(Raelag, 16, nil);
Or instead of nil, put false.
Added 2 minutes later
Perhaps this question has already been asked: how to ban a specific skill for heroes on a map?
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4