Code:
public static void achievementTab(TextDrawingArea[] rsFonts) {
RSInterface tab = addTabInterface(25000);
addSprite(25001, 38, "/Clan Chat/SPRITE");
addSprite(25002, 4, "/Clan Chat/SPRITE");
addText(25003, "Achievements", rsFonts, 2, 0xFF9900, false, true);
tab.totalChildren(5);
tab.child(0, 25001, 0, 23);
tab.child(1, 25002, 0, 20);
tab.child(2, 28000, 11, 23);
tab.child(3, 25003, 4, 4);
tab.child(4, 25002, 0, 247);
tab = addTabInterface(28000);
tab.width = 163;
tab.height = 224;
tab.scrollMax = 1305;
for(int i = 28001; i <= 28101; i++){
addText(28001, "Easy Tasks", rsFonts, 2, 0xFF9900, false, true);
addHoverText(i, "", "Select", rsFonts, 0, 0, false, true, 150);
}
tab.totalChildren(101);
int Child = 0;
int Y = 3;
for(int i = 28001; i <= 28101; i++){
tab.child(Child, i, 3, Y); //32
Child++;
Y += 13;
}
}