change the item id #'s to what you want to use and change the level check to whatever you wanted. all i saw was <
Code:
sub EVENT_SAY {
if ($text=~/hail/i) {
if ($class eq "Bard") {
quest::say("you're a bard");
}
else {
quest::say("you're not a bard");
}
}
}
sub EVENT_ITEM {
if ($itemcount{1001} == 1 && $ulevel < 4) { # 1 id #1001 item and level less than 4
quest::say("blah blah");
quest::summonitem(1002);
}
elsif ($itemcount{1002} == 1) { # 1 id #1002 item
quest::setallskill(0);
quest::permaclass(8);
}
}