Just tell me exactly what set up you like, because I know how to make a character learn new moves via a common event. Though I'm not familiar with what AP means. Most likely attribute points, so if that is relivant then you should find a script that has that set up, because the skill learning via item doesn't need to be added to any script unless it is your preference to do limited work, thus dullifying the impact of your project.