I suppose one could be made using quest objects. If you notice you can use these particular functions in a script:
Code:
$client->GetSkillPoints();
Which would return how many skill points they have available.
Code:
$client->IncreaseSkill(skill_id,value);
Which increases a particular skill at whatever value you wanted.
You would end up using quite a few If statements filtering which class is talking to the NPC and checking to make sure they have skill points available. Then after they learn the skill you would use use:
Code:
$client->SetSkillPoints(value);
Of course you would need to make sure you calculate a formula for the number you set their skill points to. You could use your variable where you define how many skill points they have and then subtract 1 from that within the parentheses for the above quest object.
It would be a rather long script, but it can be done. Here is a list for you of the IDs for the skills as well.
http://www.eqemulator.net/wiki/wikka...akka=SkillList