Code:
//1st tele option
case 9190:
if (c.teleAction == 1) {
//rock crabs
c.getPA().spellTeleport(2676, 3715, 0);
} else if (c.teleAction == 2) {
//barrows
c.getPA().spellTeleport(3565, 3314, 0);
} else if (c.teleAction == 3) {
//godwars
c.getPA().spellTeleport(2916, 3612, 0);
} else if (c.teleAction == 4) {
//varrock wildy
c.getPA().spellTeleport(2539, 4716, 0);
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(3046,9779,0);
}
if (c.dialogueAction == 10) {
c.getPA().spellTeleport(2845, 4832, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 11) {
c.getPA().spellTeleport(2786, 4839, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 12) {
c.getPA().spellTeleport(2398, 4841, 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(2884, 9798, 0);
} else if (c.teleAction == 2) {
//pest control
c.getPA().spellTeleport(2662, 2650, 0);
} else if (c.teleAction == 3) {
//kbd
c.getPA().spellTeleport(3007, 3849, 0);
} else if (c.teleAction == 4) {
//graveyard
c.getPA().spellTeleport(2978, 3616, 0);
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(3079,9502,0);
}
if (c.dialogueAction == 10) {
c.getPA().spellTeleport(2796, 4818, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 11) {
c.getPA().spellTeleport(2527, 4833, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 12) {
c.getPA().spellTeleport(2464, 4834, 0);
c.dialogueAction = -1;
}
break;
//3rd tele option
case 9192:
if (c.teleAction == 1) {
//slayer tower
c.getPA().spellTeleport(3428, 3537, 0);
} else if (c.teleAction == 2) {
//tzhaar
c.getPA().spellTeleport(2400, 5179, 0);
} else if (c.teleAction == 3) {
//dag kings
c.getPA().spellTeleport(1910, 4367, 0);
c.sendMessage("Climb down the ladder to get into the lair.");
} else if (c.teleAction == 4) {
//44 portals
c.getPA().spellTeleport(2975, 3873, 0);
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(2597,3408,0);
}
if (c.dialogueAction == 10) {
c.getPA().spellTeleport(2713, 4836, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 11) {
c.getPA().spellTeleport(2162, 4833, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 12) {
c.getPA().spellTeleport(2207, 4836, 0);
c.dialogueAction = -1;
}
break;
//4th tele option
case 9193:
if (c.teleAction == 1) {
//brimhaven dungeon
c.getPA().spellTeleport(2710, 9466, 0);
} else if (c.teleAction == 2) {
//duel arena
c.getPA().spellTeleport(3366, 3266, 0);
} else if (c.teleAction == 3) {
//chaos elemental
c.getPA().spellTeleport(3295, 3921, 0);
} else if (c.teleAction == 4) {
//gdz
c.getPA().spellTeleport(3288, 3886, 0);
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(2724,3484,0);
c.sendMessage("For magic logs, try north of the duel arena.");
}
if (c.dialogueAction == 10) {
c.getPA().spellTeleport(2660, 4839, 0);
c.dialogueAction = -1;
} else if (c.dialogueAction == 11) {
//c.getPA().spellTeleport(2527, 4833, 0); astrals here
c.getRunecrafting().craftRunes(2489);
c.dialogueAction = -1;
} else if (c.dialogueAction == 12) {
//c.getPA().spellTeleport(2464, 4834, 0); bloods here
c.getRunecrafting().craftRunes(2489);
c.dialogueAction = -1;
}
break;
//5th tele option
case 9194:
if (c.teleAction == 1) {
//island
c.getPA().spellTeleport(2895, 2727, 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(3093, 3503, 0);
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(2812,3463,0);
}
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;
It's probably a simple fix, but it's got me stumped.