You would just need to use a quest object to get the skill value. Something like this:
Code:
$client->GetRawSkill(skill_id);
or
Code:
$client->GetSkill(skill_id);
And then just put one of the following numbers in place of "skill_id" to pull the character's skill level:
56 Make Poison
57 Tinkering
58 Research
59 Alchemy
60 Baking
61 Tailoring
63 Blacksmithing
64 Fletching
65 Brewing
68 Jewelry Making
69 Pottery
To use it to check for a certain value, you would need to do something like this:
Code:
sub EVENT_SAY {
my $blacksmithskill = $client->GetSkill(63);
if ($text =~ /skill check/i) {
if ($blacksmithskill >= 100) {
quest::say("Yep, you are a blacksmith alright!");
}
if ($blacksmithskill < 100) {
quest::say("You are not yet worthy!");
}
}
}
There are a ton of useful quest objects in the wiki. Just search for what you want and then you will just need to figure out the proper way to use it. Here is the link:
http://www.eqemulator.net/wiki/wikka...a=QuestObjects