Pakistan has warned the interim Afghan Taliban administration that if terrorists involved in cross-border attacks in the country are not eliminated, Islamabad would take action against them within Afghanistan, an official said on Friday the Daily Times reported.