Isspellinrange - /script if not unitexists(target) then te=0; Isspellinrange / Number , the number of the spell in the spell book.