Go to DialogueHandler.java and make a case in the sendDialogues() method. Make it a number no other case has. Make that case like this:
Code:
case 524:
sendOption4("Option 1", "Option 2", "Option 3", "Option 4");
c.teleAction = 524; // it doesn't need to be the same number, but its easy to keep track of everything if it is
break;
Then go to ClickingButtons.java and go to case 9190. Add another if statement in there and make it something like:
Code:
if(c.teleAction == 524) {// OR WHATEVER NUMBER YOU PUT
c.getPA().movePlayer(x, y, z); //the coordinates you want
}
Thats going to be for the first option (Option 1). Copy and paste that into cases 9191, 9192, and 9193. Just change the coordinates, don't change the c.teleAction ==.
Now once you have that, go to ActionHandler.java where it handles the click on the portal, and change the code inside there to: c.getDH().sendDialogues(524, 0);
The 524 is the number that you put. The 0 is the NPC id, but you're not using an NPC so theres no point for that.