Burning chillies can deter elephants from ravaging crops in African and Asian communities, according to a new study involving a University of Stirling researcher.