I was helped on this topic TFS 0.X - ML up show new spell from spells.xml (https://otland.net/threads/ml-up-show-new-spell-from-spells-xml.270306/) to edit my source so a script like this work:
ibb.co
It shows all spells you from your magic level when u get magic level up (from spells.xml)
But there is a problem...
It show all spells, it not verify your vocation, so...
[C++] Show spells when MLVL up deppeding on vocation

Screenshot-from-2020-05-10-14-32-19
Image Screenshot-from-2020-05-10-14-32-19 hosted in ImgBB

But there is a problem...
It show all spells, it not verify your vocation, so...
[C++] Show spells when MLVL up deppeding on vocation