Code:
public static void questTab(RSFont[] TDA){
RSInterface Interface = addInterface(638);
setChildren(4, Interface);
addText(29155, "Info", 0xFF981F, false, true, 52, TDA, 2);
AddInterfaceButton(29156, 1, "Interfaces/QuestTab/QUEST", 18, 18, "Swap to Command List!", 1);
addSprite(29157, 0, "Interfaces/QuestTab/QUEST");
setBounds(29155, 10, 5, 0, Interface);
setBounds(29156, 165, 5, 1, Interface);
setBounds(29157, 3, 24, 2, Interface);
setBounds(29160, 5, 29, 3, Interface);
Interface = addInterface(29160);
Interface.height = 214;
Interface.width = 165;
Interface.scrollMax = 400;
Interface.newScroller = false;
setChildren(105, Interface);
addHoverText(29161, "Developed by: Linus", "After two whole years we're finally done!", TDA, 0,0x4095DB, false, true, 150);
addHoverText(29162, "Owner(s): Linus", "Skype: Activiton", TDA, 0,0x4095DB, false, true, 150);
addHoverText(29163, "Dont forget to vote!", "This brings more players to the server!", TDA, 0,0x4095DB, false, true, 150);
addHoverText(29164, "Sign up on our forum!", "Enhances chances for getting staff.", TDA, 0,0x4095DB, false, true, 150);
//addHoverText(29165, "Suggest an update!", "Not to be abused, please only request once.", TDA, 0,0x4095DB, false, true, 150);
addHoverText(663, "","nope", TDA,0,0x000ff, false, true, 150);
setBounds(29161, 8, 4, 0, Interface);
setBounds(29162, 8, 19, 1, Interface);
setBounds(29163, 8, 34, 2, Interface);
setBounds(29164, 8, 49, 3, Interface);
//setBounds(29165, 8, 64, 3, Interface);
setBounds(663, 4, 90, 4, Interface);
int Ypos = 83;
int frameID = 5;
for(int iD = 29165; iD <= 29264;iD++){
addHoverText(iD, "", "View Quest"/*"View Quest Journal, "+iD*/, TDA, 0, 0xff0000, false, true, 150);
setBounds(iD, 8, Ypos, frameID, Interface);
frameID++;
Ypos += 15;
Ypos++;
}
Interface = addInterface(29265);
try {
setChildren(4, Interface);
addText(29266, "Command list", 0xFF981F, false, true, -1, TDA, 2);
AddInterfaceButton(29267, 2, "Interfaces/QuestTab/QUEST", 18, 18, "Swap to Quest Diary", 1);
addSprite(29269, 0, "Interfaces/QuestTab/QUEST");
setBounds(29266, 10, 5, 0, Interface);
setBounds(29267, 165, 5, 1, Interface);
setBounds(29269, 3, 24, 2, Interface);
setBounds(29268, 5, 29, 3, Interface);
Interface = addInterface(29268);
Interface.height = 214;
Interface.width = 165;
Interface.scrollMax = 400;
Interface.newScroller = false;
setChildren(20, Interface);
setBounds(29295, 8, 4, 0, Interface);
setBounds(29296, 8, 16, 1, Interface);
setBounds(29297, 8, 29, 2, Interface);
setBounds(29298, 8, 42, 3, Interface);
setBounds(29299, 8, 54, 4, Interface);
setBounds(29300, 8, 66, 5, Interface);
setBounds(29301, 8, 78, 6, Interface);
setBounds(29302, 8, 90, 7, Interface);
setBounds(29303, 8, 102, 8, Interface);
setBounds(29304, 8, 114, 9, Interface);
setBounds(29305, 8, 126, 10, Interface);
setBounds(29306, 8, 138, 11, Interface);
setBounds(29307, 8, 150, 12, Interface);
setBounds(29308, 8, 162, 13, Interface);
setBounds(29309, 8, 174, 14, Interface);
setBounds(29310, 8, 186, 15, Interface);
setBounds(29311, 8, 198, 16, Interface);
setBounds(29312, 8, 210, 17, Interface);
setBounds(29313, 8, 222, 18, Interface);
setBounds(29314, 8, 234, 19, Interface);
addHoverText(29295, "Home teleport", "Teleport", TDA, 0, 0xFF981F, false, true, 150);
addHoverText(29296, "Train teleport", "Teleport", TDA, 0, 0xFF981F, false, true, 150);
addHoverText(29297, "Skilling teleport", "Teleport", TDA, 0, 0xFF981F, false, true, 150);
addHoverText(29298, "Shops teleport", "Teleport", TDA, 0, 0xFF981F, false, true, 150);
addHoverText(29299, "Food", "Gives you some free Food.", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29300, "Potions", "Gives you some free Potions.", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29301, "Set Spellbook", "Choose the spellbook you wish to use.", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29302, "", "", TDA, 0, 0xFF981F, false, true, 150);
addHoverText(29303, "Quick runes", "Click and spawn, quite expensive though.", TDA, 0, 0xFF981F, false, true, 150);
addHoverText(29304, "100 Runes of each", "Buy for 100,000gp", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29305, "Barrage Runes (10 charges)", "Buy for 30,000gp", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29306, "Vengeance Runes (10 charges)", "Buy for 45,000gp", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29307, "", "", TDA, 0, 0xFF981F, false, true, 150);
addHoverText(29308, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29309, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29310, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29311, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29312, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29313, "", "", TDA, 0, 0xff0000, false, true, 150);
addHoverText(29314, "", "", TDA, 0, 0xff0000, false, true, 150);
} catch(Exception e){
e.printStackTrace();
}
}