each anim extracted is given a number from 1 to x so you just number/name each anim extracted and then refer to it when you animate ie
walk = extractanimseq m\entity,m\frame_start%,m\frame_end%
run = extractanimseq m\entity,m\frame_start%,m\frame_end%
walk = extractanimseq m\entity,m\frame_start%,m\frame_end%
run = extractanimseq m\entity,m\frame_start%,m\frame_end%