has to be a way cause runescape can do it
I also found this method:but I don't know how I would get it to work like the attack interface buttons.Code:public static void addToggleButton(int id, int sprite, int setconfig, int width, int height, String s) { RSInterface rsi = addTabInterface(id); rsi.sprite1 = imageLoader(sprite, "SPRITE"); rsi.sprite2 = imageLoader(sprite, "SPRITE"); rsi.anIntArray245 = new int[1]; rsi.anIntArray245[0] = 1; rsi.anIntArray212 = new int[1]; rsi.anIntArray212[0] = 1; rsi.valueIndexArray = new int[1][3]; rsi.valueIndexArray[0][0] = 5; rsi.valueIndexArray[0][1] = setconfig; rsi.valueIndexArray[0][2] = 0; rsi.atActionType = 4; rsi.width = width; rsi.mOverInterToTrigger = -1; rsi.parentID = id; rsi.id = id; rsi.type = 5; rsi.height = height; rsi.tooltip = s; }


