umm how would i add dialogue teleports to this
button
i want to add it to this code
Code:
} else if ((interfaceId == 590 && componentId == 8) || interfaceId == 464) {
player.getEmotesManager().useBookEmote(interfaceId == 464 ? componentId : EmotesManager.getId(slotId, packetId));
} else if (interfaceId == 506) {
if (componentId == 4){
player.getPackets().sendGameMessage("There "
+ (World.getPlayers().size() > 1 ? "are" : "is") +
" currently "+InterfaceManager.determineText()+"</col> player"
+ (World.getPlayers().size() > 1 ? "s" : "") +
" online.");
} else if (componentId == 6){
player.getPackets().sendGameMessage("I have Killed <col=00FF00>" + player.getKillCount() + "</col> Player's In PvP");
} else if (componentId == 8){
player.getPackets().sendGameMessage("I have <col=FF0000>" + player.getLoyaltyPoints() + "</col><col=00FF00> Loyalty Point's</col>, Xuan here i come!");
} else if (componentId == 10){
player.getPackets().sendGameMessage("I have Died <col=00FF00>"+ player.getDeathCount() + "</col> Times In PvP!");
} else if (componentId == 12){
player.getPackets().sendGameMessage("Our forum's are experiencing downtime, But do not worry to donate simply contact Sham or Solo who are the owners of Spartascapez");
//} else if (componentId == 16){
// Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(2832, 3858, 0));
} else if (componentId == 14){
player.getPackets().sendGameMessage("This button just tell's you who you are and what's you role inside of Spartascapez");
}