API:Delete Channel

function Delete_Channel(ID) local obj1 = getglobal("Color_CB_"..ID); local obj2 = getglobal("Color_"..ID); obj1:Hide; obj2:Hide; local 	k = 0; local q = 5 ; for i = 8, BUTTONCOUNT do		objA = getglobal( "Color_"..q); objB = getglobal( "Color_"..i); if(objB:IsVisible) then if( k == 0) then objB:ClearAllAnchors; objB:SetAnchor( "TOPLEFT", "BOTTOMLEFT" , objA , 0, 5 ); objA = getglobal( "Color_"..i); q = i;				k = 1; else objB:ClearAllAnchors; objB:SetAnchor( "LEFT", "RIGHT" , objA , 174 , 0 ); objA = getglobal( "Color_"..i); k = 0; end end end end