Maybe you could try IF BGOFS THEN SPOFS i don't think it would work though