private integer array ids[8194] //Should be 8192, or just leave the [] altogether because the default is already 8192.
call GroupEnumUnitsInRange(tmpGroup,x,y,250,Filter(function thistype.Filt))
call ForGroup(tmpGroup,function thistype.AddStack)
call RemoveDestructable(CreateDestructable(DEST_ID, 0, 0, 0, 0, 1))
thistype.Filt
..
if @i - (i / 6) * 6 <= 0@ then //You can simplify this to i == i / 6 * 6
call DestroyEffect(AddSpecialEffect(DUST,x,y))
call DestroyEffect(AddSpecialEffect(VOLC,x,y))
endif
call GroupClear(this.g) -> call FlushChildHashtable(ht, this)
call GroupRemoveUnit(this.g, u) -> call RemoveSavedBoolean(ht, this, GetHandleId(u))
call GroupAddUnit(this.g, u) -> call SaveBoolean(ht, this, GetHandleId(u), true)
set this.g = CreateGroup() -> //you don't need this since you just use the one hashtable