Code:
//1st tele option
case 9190:
String type = c.playerMagicBook == 0 ? "modern" : "ancient";
if (c.teleAction == 1) {
//rock crabs
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 2) {
//barrows
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 3) {
//godwars
c.getPA().spellTeleport(2851, 3336, 0);
c.getPA().walkableInterface(16210);
} else if (c.teleAction == 4) {
//varrock wildy
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 9) {
c.getPA().spellTeleport(2851, 3336, 0);
}
if (c.dialogueAction == 10) {
c.getPA().spellTeleport(3274, 3516, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 11) {
c.getPA().spellTeleport(2646, 3710, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 12) {
c.getPA().spellTeleport(1908, 4367, 0);
c.dialogueAction = -1;
}
break;
//mining - 3046,9779,0
//smithing - 3079,9502,0
//2nd tele option
case 9191:
if (c.teleAction == 1) {
//tav dungeon
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 2) {
//pest control
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 3) {
//kbd
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 4) {
//graveyard
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 9) {
c.getPA().spellTeleport(-1, -1, 0); //Lumbridge
}
if (c.dialogueAction == 10) {
c.getPA().spellTeleport(2804, 3421, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 11) {
c.getPA().spellTeleport(3105, 3487, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 12) {
c.getPA().spellTeleport(3258, 3734, 0);
c.dialogueAction = -1;
}
break;
case 9192:
if (c.teleAction == 1) {
//slayer tower
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 2) {
//tzhaar
c.getPA().spellTeleport(2851, 3336, 0);
c.sendMessage("To fight Jad, enter the cave.");
} else if (c.teleAction == 3) {
//dag kings
c.getPA().spellTeleport(2851, 3336, 0);
c.sendMessage("Climb down the ladder to get into the lair.");
} else if (c.teleAction == 4) {
//44 portals
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 9) {
c.getPA().spellTeleport(-1,-1,0); //Varrock
}
if (c.dialogueAction == 10) {
c.getPA().spellTeleport(2539, 4716, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 11) {
c.getPA().spellTeleport(2978,3616, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 12) {
c.getPA().spellTeleport(2659, 2674, 0);
c.dialogueAction = -1;
}
break;
//4th tele option
case 9193:
if (c.teleAction == 1) {
//brimhaven dungeon
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 2) {
//duel arena
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 3) {
//chaos elemental
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 4) {
//gdz
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(2851, 3336, 0);
c.sendMessage("For magic logs, try north of the duel arena.");
} else if (c.teleAction == 9) {
c.getPA().spellTeleport(2851, 3336, 0); //Falador
}
if (c.dialogueAction == 10) {
c.getPA().spellTeleport(2438, 5168, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 11) {
//c.getPA().spellTeleport(2916, 3612, 0); astrals here
c.dialogueAction = -1;
} else if (c.dialogueAction == 12) {
//c.getPA().spellTeleport(3007, 3849, 0); bloods here
c.dialogueAction = -1;
}
break;
//5th tele option
case 9194:
if (c.teleAction == 1) {
//island
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 2) {
//last minigame spot
c.sendMessage("Suggest something for this spot on the forums!");
c.getPA().closeAllWindows();
} else if (c.teleAction == 3) {
//last monster spot
c.sendMessage("Suggest something for this spot on the forums!");
c.getPA().closeAllWindows();
} else if (c.teleAction == 4) {
//ardy lever
c.getPA().spellTeleport(2851, 3336, 0);
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(2851, 3336, 0);
/*} else if (c.teleAction == 9) {
c.getPA().spellTeleport(2851, 3336, 0); //premium isle*/
}
if (c.dialogueAction == 10 || c.dialogueAction == 11) {
c.dialogueId++;
c.getDH().sendDialogues(c.dialogueId, 0);
} else if (c.dialogueAction == 12) {
c.dialogueId = 17;
c.getDH().sendDialogues(c.dialogueId, 0);
}
break;
[/spoil]