Refresh script? Krade Equipment Skills Script

Hi, still me! So, I found this nice script that easily allows you to learn a certain skill as long as you equip a certain weapon.
(Script in here, but if it's better to copy it in this thread I will do so!)
It works but I noticed that you cannot use a new learnt skill, although it appears in the skill menu during the battle.
So, the script works, the actor learns a skill, but it can't be used.
I've also noticed that you can work around this issue by just opening once the equip menu.
I'm guessing something's wrong with refreshing or updating the equip menu or something like that.
So I was wondering, maybe I could solve this by a simple script call to refresh the script, although I wouldn't know how.
Thanks for reading this, and thanks for the help!!
I don't have XP installed anymore to test, but my first guess would be a problem with the script.
Near the bottom is a line that says .include? s
that should be .include?(s)
Unless RGSS does not require brackets there. RGSS3 does.
Yes, I'm pretty sure brackets were required there, but that didn't solve it.
Thanks for the prompt reply
I would rewrite the skills and skill_learn? methods there.

Ruby:
  def skills
    all_skills = @skills + @equipment_skills
    all_skills.uniq.sort
  end

  def skill_learn?(skill_id) self.skills.include?(skill_id) end
Ok!! Took me a while since I was having this issue where my actor would always walk towards right.
Turned out it was just my computer getting signal by some controller from don't-know-where.
It works, awesome! Thank you all, very kind

Original thread: https://forums.rpgmakerweb.com/threads/refresh-script-krade-equipment-skills-script.148358/