Code:
public static void curseTab(TextDrawingArea[] TDA) {
try {
RSInterface Interface = addTabInterface(22500);
int index = 0;
addSpriteWithHover(688, 11, "Interfaces/CurseTab/SPRITE", 19021);
addButton(689, 12, "Interfaces/CurseTab/SPRITE", "",190,17);
addText(29765, "Hide stat adjustments.", 0xFFCC00, false, true, -1, TDA, 0, 0xFFFFFF);
addText(690, "", 0xFF981F, false, false, -1, TDA, 0);
addText(691, "", 0xFF981F, false, false, -1, TDA, 0);
addText(692, "", 0xFF981F, false, false, -1, TDA, 0);
addText(693, "", 0xFF981F, false, false, -1, TDA, 0);
addText(694, "", 0xFF981F, false, false, -1, TDA, 0);
addText(687, "990/990", 0xFF981F, false, false, -1, TDA, 1);
addSprite(22502, 0, "Interfaces/CurseTab/ICON");
addPrayer(22503, 0, 610, 49, 7, "Protect Item", 22582);//1
addPrayer(22505, 0, 611, 49, 4, "Sap Warrior", 22544);//2
addPrayer(22507, 0, 612, 51, 5, "Sap Ranger", 22546);//3
addPrayer(22509, 0, 613, 53, 3, "Sap Mage", 22548);//4
addPrayer(22511, 0, 614, 55, 2, "Sap Spirit", 22550);//5
addPrayer(22513, 0, 615, 58, 18, "Berserker", 22552);//6
addPrayer(22515, 0, 616, 61, 15, "Deflect Summoning", 22554);///7
addPrayer(22517, 0, 617, 64, 17, "Deflect Magic", 22556);///8
addPrayer(22519, 0, 618, 67, 16, "Deflect Missiles", 22558);///9
addPrayer(22521, 0, 619, 70, 6, "Deflect Melee", 22560);///10
addPrayer(22523, 0, 620, 73, 9, "Leech Attack", 22562);//11
addPrayer(22525, 0, 621, 75, 10, "Leech Ranged", 22564);//12
addPrayer(22527, 0, 622, 77, 11, "Leech Magic", 22566);//13
addPrayer(22529, 0, 623, 79, 12, "Leech Defence", 22568);//14
addPrayer(22531, 0, 624, 81, 13, "Leech Strength", 22570);//15
addPrayer(22533, 0, 625, 83, 14, "Leech Energy", 22572);//16
addPrayer(22535, 0, 626, 85, 19, "Leech Special Attack", 22574);//17
addPrayer(22537, 0, 627, 88, 1, "Wrath", 22576);///18
addPrayer(22539, 0, 628, 91, 8, "Soul Split", 22578);///19
addPrayer(22541, 0, 629, 94, 20, "Turmoil", 22580);//20
addTooltip(22582, "Level 50\nProtect Item\nKeep 1 extra item if you die");
addTooltip(22544, "Level 50\nSap Warrior\nDrains 10% of enemy Attack,\nStrength and Defence,\nincreasing to 20% over time");
addTooltip(22546, "Level 52\nSap Ranger\nDrains 10% of enemy Ranged\nand Defence, increasing to 20%\nover time");
addTooltip(22548, "Level 54\nSap Mage\nDrains 10% of enemy Magic\nand Defence, increasing to 20%\nover time");
addTooltip(22550, "Level 56\nSap Spirit\nDrains enenmy special attack\nenergy");
addTooltip(22552, "Level 59\nBerserker\nBoosted stats last 15% longer");
addTooltip(22554, "Level 62\nDeflect Summoning\nReduces damage dealt from\nSummoning scrolls, prevents the\nuse of a familiar's special\nattack, and can deflect some of\ndamage back to the attacker");
addTooltip(22556, "Level 65\nDeflect Magic\nProtects against magical attacks\nand can deflect some of the\ndamage back to the attacker");
addTooltip(22558, "Level 68\nDeflect Missiles\nProtects against ranged attacks\nand can deflect some of the\ndamage back to the attacker");
addTooltip(22560, "Level 71\nDeflect Melee\nProtects against melee attacks\nand can deflect some of the\ndamage back to the attacker");
addTooltip(22562, "Level 74\nLeech Attack\nBoosts Attack by 5%, increasing\nto 10% over time, while draining\nenemy Attack by 10%, increasing\nto 25% over time");
addTooltip(22564, "Level 76\nLeech Ranged\nBoosts Ranged by 5%, increasing\nto 10% over time, while draining\nenemy Ranged by 10%,\nincreasing to 25% over\ntime");
addTooltip(22566, "Level 78\nLeech Magic\nBoosts Magic by 5%, increasing\nto 10% over time, while draining\nenemy Magic by 10%, increasing\nto 25% over time");
addTooltip(22568, "Level 80\nLeech Defence\nBoosts Defence by 5%, increasing\nto 10% over time, while draining\n enemy Defence by10%,\nincreasing to 25% over\ntime");
addTooltip(22570, "Level 82\nLeech Strength\nBoosts Strength by 5%, increasing\nto 10% over time, while draining\nenemy Strength by 10%, increasing\n to 25% over time");
addTooltip(22572, "Level 84\nLeech Energy\nDrains enemy run energy, while\nincreasing your own");
addTooltip(22574, "Level 86\nLeech Special Attack\nDrains enemy special attack\nenergy, while increasing your\nown");
addTooltip(22576, "Level 89\nWrath\nInflicts damage to nearby\ntargets if you die");
addTooltip(22578, "Level 92\nSoul Split\n1/4 of damage dealt is also removed\nfrom opponent's Prayer and\nadded to your Hitpoints");
addTooltip(22580, "Level 95\nTurmoil\nIncreases Attack and Defence\nby 15%, plus 15% of enemy's\nlevel, and Strength by 23% plus\n10% of enemy's level");
setChildren(62, Interface);
setBounds(687, 85, 241, index, Interface);index++;
setBounds(22502, 65, 241, index, Interface);index++;
setBounds(22503, 2, 5, index, Interface);index++;
setBounds(22504, 8, 8, index, Interface);index++;
setBounds(22505, 40, 5, index, Interface);index++;
setBounds(22506, 47, 12, index, Interface);index++;
setBounds(22507, 76, 5, index, Interface);index++;
setBounds(22508, 82, 11, index, Interface);index++;
setBounds(22509, 113, 5, index, Interface);index++;
setBounds(22510, 116, 8, index, Interface);index++;
setBounds(22511, 150, 5, index, Interface);index++;
setBounds(22512, 155, 10, index, Interface);index++;
setBounds(22513, 2, 45, index, Interface);index++;
setBounds(22514, 9, 48, index, Interface);index++;
setBounds(22515, 39, 45, index, Interface);index++;
setBounds(22516, 42, 47, index, Interface);index++;
setBounds(22517, 76, 45, index, Interface);index++;
setBounds(22518, 79, 48, index, Interface);index++;
setBounds(22519, 113, 45, index, Interface);index++;
setBounds(22520, 116, 48, index, Interface);index++;
setBounds(22521, 151, 45, index, Interface);index++;
setBounds(22522, 154, 48, index, Interface);index++;
setBounds(22523, 2, 82, index, Interface);index++;
setBounds(22524, 6, 86, index, Interface);index++;
setBounds(22525, 40, 82, index, Interface);index++;
setBounds(22526, 42, 86, index, Interface);index++;
setBounds(22527, 77, 82, index, Interface);index++;
setBounds(22528, 79, 86, index, Interface);index++;
setBounds(22529, 114, 83, index, Interface);index++;
setBounds(22530, 119, 87, index, Interface);index++;
setBounds(22531, 153, 83, index, Interface);index++;
setBounds(22532, 156, 86, index, Interface);index++;
setBounds(22533, 2, 120, index, Interface);index++;
setBounds(22534, 7, 125, index, Interface);index++;
setBounds(22535, 40, 120, index, Interface);index++;
setBounds(22536, 45, 124, index, Interface);index++;
setBounds(22537, 78, 120, index, Interface);index++;
setBounds(22538, 86, 124, index, Interface);index++;
setBounds(22539, 114, 120, index, Interface);index++;
setBounds(22540, 120, 125, index, Interface);index++;
setBounds(22541, 151, 120, index, Interface);index++;
setBounds(22542, 153, 127, index, Interface);index++;
setBounds(22582, 10, 40, index, Interface);index++;
setBounds(22544, 20, 40, index, Interface);index++;
setBounds(22546, 20, 40, index, Interface);index++;
setBounds(22548, 20, 40, index, Interface);index++;
setBounds(22550, 20, 40, index, Interface);index++;
setBounds(22552, 10, 80, index, Interface);index++;
setBounds(22554, 10, 80, index, Interface);index++;
setBounds(22556, 10, 80, index, Interface);index++;
setBounds(22558, 10, 80, index, Interface);index++;
setBounds(22560, 10, 80, index, Interface);index++;
setBounds(22562, 10, 120, index, Interface);index++;
setBounds(22564, 10, 120, index, Interface);index++;
setBounds(22566, 10, 120, index, Interface);index++;
setBounds(22568, 5, 120, index, Interface);index++;
setBounds(22570, 5, 120, index, Interface);index++;
setBounds(22572, 10, 160, index, Interface);index++;
setBounds(22574, 10, 160, index, Interface);index++;
setBounds(22576, 10, 160, index, Interface);index++;
setBounds(22578, 10, 160, index, Interface);index++;
setBounds(22580, 10, 160, index, Interface);index++;
setBounds(689, 0, 217, index, Interface);index++;
setBounds(688, 0, 170, index, Interface);index++;
setBounds(690, 89, 200, index, Interface);index++;
setBounds(691, 10, 200, index, Interface);index++;
setBounds(692, 50, 200, index, Interface);index++;
setBounds(693, 130, 200, index, Interface);index++;
setBounds(694, 170, 200, index, Interface);index++;
}
catch (Exception e) {
}
}
Let me know any errors you get probably missing methods.