[XP] Changing Skills When Changing Class ?

changeclassscript.txt  <-- here is the script

when i change classes using this script my skills wont change, even though there set to lvl 1. Example would be thief knows steal, and triple attack, but when he changes to a dragoon he would know lance skills, and forget the thief ones. And Vice Versa. In this script it says that this should all work fine.

If anyone could take a peek at this script and explain what im doing wrong for this to work, or has any suggestions please let me know !

 thanks everyone

Original thread: https://forums.rpgmakerweb.com/threads/xp-changing-skills-when-changing-class.51674/