Npc Dialogue Item Giving! Help!
Well I was making a mining area for my server and when you talk to the dwarf if you are below 99 mining he gives you a pickaxe and tells you to mine but if you are 99 mining he gives you a skillcape. The problem is that it doesn't stop giving you the item it just keeps giving you the pickaxe or the skillcape. Here is the code.
Code:
case 232:
if (playerLevel[14] <= 99) {
talk3("Welcome Project Omniscient's mine area,", "Use this to get started on mining,", "Once you get 99 talk to me for a SkillCape.", 232);
addItem(1265, 1);
}
if (playerLevel[14] >= 99) {
talk3("Congratulations,", "You are a true master of Mining,", "Here is your promised SkillCape.", 232);
addItem(2722, 1);
break;
Anyone know how to fix?