What is a better way for Clicking Buttons? My "else if statements appear to just run to the next one" I've tried using breaks, else if's, return ect.. resetting dialogue to 0 and teleAction to 0 still nothing!
Edit: I got this figured out, someone can close this thread.
Code:} else if (c.teleAction == 4) {
// Fala
c.getPA().resetAutocast();
c.getPA().spellTeleport(3321, 3895, 0);
c.teleAction = 0;
} else if (c.teleAction == 5) {
c.getPA().spellTeleport(2724, 3484, 0);
c.sendMessage("For magic logs, try north of the duel arena.");
c.teleAction = 0;
}