Code:
public void watchTower() {
interfaceEffect = 1;
sendFrame126("", 2494);
sendFrame126("I want to Tele to KBD", 2495);
sendFrame126("I Want to Tele to Dark Beasts", 2496);
sendFrame126("Never mind..", 2497);
sendFrame126("", 2498);
sendQuestSomething(8143);
sendFrame164(2492);
flushOutStream();
}
then find the case of the teleport and put
Code:
case ####:
watchTower();
break;
then after you do that compile restart and find the case ids of the clicks (click on each of the teles)
It might be 9090 but i'm not 100% sure so check and make sure
anyway find the case and under it add
Code:
case id:
if (interfaceEffect == 1) {
My Tele code shit
closeInterface();
}
break;