First off, "elseif" is used if there is another condition, here, just use "else".
And it turns out, %actor.skill% should not have "'s . So you need to check
Code:
if %actor.skill(herbalism)% > 0
Code:
set study 'study
set herbalism 'herbalism
if %study.contains('%cmd%)% && %herbalism.contains('%arg%)%
if %actor.skill(herbalism)% > 0
tell %actor.name% you have already learned how to use herbalism.
else
%echo% The study master begins to teach you how to use herbalism.
%actor.skillset("herbalism" 5)%
end
else
%send% %actor% study what?
end
skillset uses one_word to parse out the value in "'s.