Code:
case 0: //Attack
refreshSkills();
sendFrame164(6247);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced an attack level!", 6248);
sendFrame126("Your attack level is now "+playerLevel[0]+".", 6249);
sendMessage("Congratulations, you just advanced an attack level.");
NpcDialogueSend = true;
if (playerLevel[0] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14074); //14074 being attack cape item id.
sendFrame126("Congratulations, you have reached "+playerLevel[0]+" attack!", 6207);
sendFrame126("You are the master of Attack!", 6208);
} break;
case 1: // Strength
refreshSkills();
sendFrame164(6206);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a strength level!", 6207);
sendFrame126("Your strength level is now "+playerLevel[2]+".", 6208);
sendMessage("Congratulations, you just advanced a strength level.");
NpcDialogueSend = true;
if (playerLevel[2] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14077);
sendFrame126("Congratulations, you have reached "+playerLevel[2]+" strength!", 6207);
sendFrame126("You are the master of strength!", 6208);
} break;
case 2: // Defence
refreshSkills();
sendFrame164(6253);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a defence level!", 6254);
sendFrame126("Your defence level is now "+playerLevel[1]+".", 6255);
sendMessage("Congratulations, you just advanced a defence level.");
NpcDialogueSend = true;
if (playerLevel[1] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14080);
sendFrame126("Congratulations, you have reached "+playerLevel[1]+" defence!", 6207);
sendFrame126("You are the master of Defence!", 6208);
} break;
case 3: //Hitpoints
refreshSkills();
sendFrame164(6216);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a hitpoints level!", 6217);
sendFrame126("Your hitpoints level is now "+playerLevel[3]+".", 6218);
sendMessage("Congratulations, you just advanced a hitpoints level.");
NpcDialogueSend = true;
if (playerLevel[3] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14095);
sendFrame126("Congratulations, you have reached "+playerLevel[3]+" hitpoints!", 6207);
sendFrame126("You are the master of Hitpoints!", 6208);
} break;
case 4: //Ranging
refreshSkills();
sendFrame164(4443);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a Ranged level!", 5453);
sendFrame126("Your Ranged level is now " + playerLevel[4] + ".", 6114);
sendMessage("Congratulations, you just advanced a Ranged level.");
if (playerLevel[4] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14083);
sendFrame126("Congratulations, you have reached "+playerLevel[4]+" range!", 6207);
sendFrame126("You are the master of Range!", 6208);
} break;
case 5: // Prayer
refreshSkills();
sendFrame164(6242);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a prayer level!", 6243);
sendFrame126("Your prayer level is now "+playerLevel[5]+".", 6244);
sendMessage("Congratulations, you just advanced a prayer level.");
NpcDialogueSend = true;
if (playerLevel[5] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14086);
sendFrame126("Congratulations, you have reached "+playerLevel[5]+" prayer!", 6207);
sendFrame126("You are the master of prayer!", 6208);
} break;
case 6: // Magic
refreshSkills();
sendFrame164(6211);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a magic level!", 6212);
sendFrame126("Your magic level is now "+playerLevel[6]+" .", 6213);
sendMessage("Congratulations, you just advanced a magic level.");
NpcDialogueSend = true;
if (playerLevel[6] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14089);
sendFrame126("Congratulations, you have reached "+playerLevel[6]+" magic!", 6207);
sendFrame126("You are the master of magic!", 6208);
} break;
case 7: //Cooking
refreshSkills();
sendFrame164(6226);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a cooking level!", 6227);
sendFrame126("Your cooking level is now "+playerLevel[7]+".", 6228);
sendMessage("Congratulations, you just advanced a cooking level.");
NpcDialogueSend = true;
if (playerLevel[7] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14128);
sendFrame126("Congratulations, you have reached "+playerLevel[7]+" cooking!", 6207);
sendFrame126("You are the master of cooking!", 6208);
} break;
case 8: //Woodcutting
refreshSkills();
sendFrame164(4272);
stillgfx(199, absY, absX);;
sendFrame126("Congratulations, you just advanced a woodcutting level!", 4273);
sendFrame126("Your woodcutitng level is now "+playerLevel[8]+".", 4274);
sendMessage("Congratulations, you just advanced a woodcutting level.");
NpcDialogueSend = true;
if (playerLevel[8] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14134);
sendFrame126("Congratulations, you have reached "+playerLevel[8]+" woodcutting!", 6207);
sendFrame126("You are the master of woodcutting!", 6208);
} break;
case 9: //Fletching
refreshSkills();
sendFrame164(6231);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a fletching level!", 6232);
sendFrame126("Your fletching level is now "+playerLevel[9]+".", 6233);
sendMessage("Congratulations, you just advanced a fletching level.");
NpcDialogueSend = true;
if (playerLevel[9] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14110);
sendFrame126("Congratulations, you have reached "+playerLevel[9]+" fletching!", 6207);
sendFrame126("You are the master of Fletching!", 6208);
} break;
case 10: //fishing
refreshSkills();
sendFrame164(6258);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a fishing level!", 6259);
sendFrame126("Your fishing level is now "+playerLevel[10]+".", 6260);
sendMessage("Congratulations, you just advanced a fishing level.");
NpcDialogueSend = true;
if (playerLevel[10] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14125);
sendFrame126("Congratulations, you have reached "+playerLevel[10]+" fishing!", 6207);
sendFrame126("You are the master of fishing!", 6208);
} break;
case 11: //firemaking
refreshSkills();
sendFrame164(4282);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a firemaking level!", 4283);
sendFrame126("Your firemaking level is now "+playerLevel[11]+".", 4284);
sendMessage("Congratulations, you just advanced a firemaking level.");
NpcDialogueSend = true;
if (playerLevel[11] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14131);
sendFrame126("Congratulations, you have reached "+playerLevel[11]+" firemaking!", 6207);
sendFrame126("You are the master of firemaking!", 6208);
} break;
case 12: //crafting
refreshSkills();
sendFrame164(6263);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a crafting level!", 6264);
sendFrame126("Your crafting level is now "+playerLevel[12]+".", 6265);
sendMessage("Congratulations, you just advanced a crafting level.");
NpcDialogueSend = true;
if (playerLevel[12] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14107);
sendFrame126("Congratulations, you have reached "+playerLevel[12]+" crafting!", 6207);
sendFrame126("You are the master of crafting!", 6208);
} break;
case 13: //Smithing
refreshSkills();
sendFrame164(6221);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a smithing level!", 6222);
sendFrame126("Your smithing level is now "+playerLevel[13]+".", 6223);
sendMessage("Congratulations, you just advanced a smithing level.");
NpcDialogueSend = true;
if (playerLevel[13] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14122);
sendFrame126("Congratulations, you have reached "+playerLevel[13]+" smithing!", 6207);
sendFrame126("You are the master of smithing!", 6208);
} break;
case 14: //Mining
refreshSkills();
sendFrame164(4416);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a mining level!", 4417);
sendFrame126("Your mining level is now "+playerLevel[14]+".", 4438); //Finaly Found!
sendMessage("Congratulations, you just advanced a mining level.");
NpcDialogueSend = true;
if (playerLevel[14] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14119);
sendFrame126("Congratulations, you have reached "+playerLevel[14]+" mining!", 6207);
sendFrame126("You are the master of Mining!", 6208);
} break;
case 15: //Herblaw
refreshSkills();
sendFrame164(6237);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a herblore level!", 6238);
sendFrame126("Your herblore level is now "+playerLevel[15]+".", 6239);
sendMessage("Congratulations, you just advanced a herblore level.");
NpcDialogueSend = true;
if (playerLevel[15] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14101);
sendFrame126("Congratulations, you have reached "+playerLevel[15]+" herblore!", 6207);
sendFrame126("You are the master of Herblaw!", 6208);
} break;
case 16: //Agility
refreshSkills();
sendFrame164(4277);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a agility level!", 4278);
sendFrame126("Your agility level is now "+playerLevel[16]+".", 4279);
sendMessage("Congratulations, you just advanced an agility level.");
NpcDialogueSend = true;
if (playerLevel[16] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14098);
sendFrame126("Congratulations, you have reached "+playerLevel[16]+" agility!", 6207);
sendFrame126("You are the master of Agility!", 6208);
} break;
case 17: //Thieving
refreshSkills();
sendFrame164(4261);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a thieving level!", 4263);
sendFrame126("Your theiving level is now "+playerLevel[17]+".", 4264);
sendMessage("Congratulations, you just advanced a thieving level.");
NpcDialogueSend = true;
if (playerLevel[17] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14104);
sendFrame126("Congratulations, you have reached "+playerLevel[17]+" theiving!", 6207);
sendFrame126("You are the master of thieving!", 6208);
} break;
case 18: //Slayer
refreshSkills();
sendFrame164(12122);
stillgfx(199, absY, absX);
sendFrame126("Congratulations, you just advanced a slayer level!", 12123);
sendFrame126("Your slayer level is now "+playerLevel[18]+".", 12124);
sendMessage("Congratulations, you just advanced a slayer level.");
NpcDialogueSend = true;
if (playerLevel[18] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 290, 14113);
sendFrame126("Congratulations, you have reached "+playerLevel[18]+" slayer!", 6207);
sendFrame126("You are the master of Slayer!", 6208);
} break;
case 19: //Farming - By Ian... [NEED REAL INTERFACE ID]
refreshSkills();
sendFrame164(4267);
stillgfx(199, absY, absX);
sendFrame246(4271, 240, 5340);
sendFrame126("Congratulations, you just advanced a farming level!", 4268);
sendFrame126("Your farming level is now "+playerLevel[19]+".", 4269);
sendMessage("Congratulations, you just advanced a farming level.");
NpcDialogueSend = true;
if (playerLevel[19] >= 99) {
sendFrame164(6206);
sendFrame246(6210, 200, 14137);
sendFrame126("Congratulations, you have reached "+playerLevel[19]+" farming!", 6207);
sendFrame126("You are the master of farming!", 6208);
} break;
case 20: //Runecrafting Level Up
refreshSkills();
sendFrame164(4267);
stillgfx(199, absY, absX);
sendFrame126("Congratulations! You just advanced a Runecrafting level!", 4268);
sendFrame126("Your Runecrafting level is now "+playerLevel[20]+".", 4269);
sendMessage("Congratulations! You just advanced a Runecrafting level.");
NpcDialogueSend = true;
break;
}
loadquestinterface();
}
and thats it when a player hits 99 it shows the cape instead of like the fist or w\e and says gratz on 99 hope people enjoy this