I used many loop to find with condition
!$gameActors.actor($gameParty.leader().actorId()).skills().indexOf($dataSkills[$gameVariables.value(5)])
but I can only find the id of the skill with the smallest id
!$gameActors.actor($gameParty.leader().actorId()).skills().indexOf($dataSkills[$gameVariables.value(5)])
but I can only find the id of the skill with the smallest id