Posted by: Wisp
« on: December 04, 2017, 01:24:46 PM »min_level = 2 will have the header with the minimum level 2 deleted. As in, the min levels of the headers would go 1, 3, 4, etc., instead of 1, 2, 3, 4, etc.
COPY_EXISTING "SPWI101.spl" "override"
LPF DELETE_SPELL_HEADER INT_VAR header_type = "-1" min_level = 2 END // delete all headers except the first one
COPY_EXISTING "SPWI101.spl" "override"
LPF DELETE_SPELL_HEADER INT_VAR header_type = "-1" END // delete all headers