Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 0:
- // Attack levelup
- sendFrame164(6247);
- 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) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Attack skill cape and hood.");
- break;
- case 1:
- // Strength
- sendFrame164(6206);
- 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) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Strength skill cape and hood.");
- break;
- case 2:
- // Defence
- sendFrame164(6253);
- 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) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Defence skill cape and hood.");
- break;
- case 3:
- // Hitpoints
- sendFrame164(6216);
- 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) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Hitpoints skill cape and hood.");
- break;
- case 4:
- // Ranging
- sendFrame164(4443);
- sendFrame126("Congratulations, you just advanced a ranged level!",
- 4444);
- sendFrame126("Your ranged level is now " + playerLevel[4] + ".",
- 4445);
- sendMessage("Congratulations, you just advanced a ranging level.");
- NpcDialogueSend = true;
- if (playerLevel[4] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Ranging skill cape and hood.");
- break;
- case 5:
- // Prayer
- sendFrame164(6242);
- 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) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Prayer skill cape and hood.");
- break;
- case 6:
- // Magic
- sendFrame164(6211);
- 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) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Magic skill cape and hood.");
- break;
- case 7:
- // Cooking
- sendFrame164(6226);
- 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[2] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Cooking skill cape and hood.");
- break;
- case 8:
- // Woodcutting
- sendFrame164(4272);
- sendFrame126("Congratulations, you just advanced a woodcutting level!",
- 4273);
- sendFrame126("Your woodcutting level is now " + playerLevel[8]
- + ".", 4274);
- sendMessage("Congratulations, you just advanced a woodcutting level.");
- NpcDialogueSend = true;
- if (playerLevel[2] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the WoodCutting skill cape and hood.");
- break;
- case 9:
- // Fletching
- sendFrame164(6231);
- 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[2] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Fletching skill cape and hood.");
- break;
- case 10:
- // fishing
- sendFrame164(6258);
- 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[2] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Fishing skill cape and hood.");
- break;
- case 11:
- // firemaking
- sendFrame164(4282);
- sendFrame126("Congratulations, you just advanced a firemaking level!",
- 4283);
- sendFrame126("Your firemaking level is now " + playerLevel[11]
- + ".", 4284);
- sendMessage("Congratulations, you just advanced a fire making level.");
- NpcDialogueSend = true;
- if (playerLevel[2] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the FireMaking skill cape and hood.");
- break;
- case 12:
- // crafting
- sendFrame164(6263);
- 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[2] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Crafting skill cape and hood.");
- break;
- case 13:
- // Smithing
- sendFrame164(6221);
- 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[2] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Smithing skill cape and hood.");
- break;
- case 14:
- // Mining
- sendFrame164(4416);
- sendFrame126("Congratulations, you just advanced a mining level!",
- 4417);
- sendFrame126("Your mining level is now " + playerLevel[14] + ".",
- 4418);
- sendMessage("Congratulations, you just advanced a mining level.");
- NpcDialogueSend = true;
- if (playerLevel[2] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Mining skill cape and hood.");
- break;
- case 15:
- // Herblore
- sendFrame164(6237);
- 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[2] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Herblore skill cape and hood.");
- break;
- case 16:
- // Agility
- sendFrame164(4277);
- 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[2] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Agility skill cape and hood.");
- break;
- case 17:
- // Thieving
- sendFrame164(4261);
- sendFrame126("Congratulations, you just advanced a thieving level!",
- 6262);
- sendFrame126("Your theiving level is now " + playerLevel[17] + ".",
- 6263);
- sendMessage("Congratulations, you just advanced a thieving level.");
- NpcDialogueSend = true;
- if (playerLevel[17] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Thieving skill cape and hood.");
- break;
- case 18:
- // Slayer
- sendFrame164(12123);
- sendFrame126("Congratulations, you just advanced a slayer level!",
- 6207);
- sendFrame126("Your slayer level is now " + playerLevel[18] + ".",
- 6208);
- sendMessage("Congratulations, you just advanced a slayer level.");
- NpcDialogueSend = true;
- if (playerLevel[18] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Slayer skill cape and hood.");
- break;
- case 19:
- Farming
- sendFrame164(4261);
- sendFrame126("Congratulations, you just advanced a farming level!",
- 4889);
- sendFrame126("Your farming level is now "+playerLevel[19]+".",
- 4890);
- sendMessage("Congratulations, you just advanced a farming level.");
- NpcDialogueSend = true;
- if (playerLevel[19] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the Farming skill cape and hood.");
- break;
- case 20:
- // Runecrafting
- sendFrame164(4267);
- 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;
- if (playerLevel[20] >= 99) {
- addItem(CAPE ID, 1);
- sendMessage("You recieve the RuneCrafting skill cape and hood.");
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement