I believe the problem lies in this portion of the script:
if %currentskill < 810
  {
    set %spell 115    ; Wither 71-81
    set %necro_spell Wither
  }
if %currentskill > 809
  {
    while E in #charStatus
      {
        event macro 15 106
        wait 1s
      }
  }
if %currentskill < 711
  {
    set %spell 106    ; Horrific Beast 50-71
    set %necro_spell Horrific , #spc , Beast
  }
I believe  > 809 should be  > 710
Also, it's checking for E in #charStatus, but currently beast form is B, and elf form is BA.
I tried:
if %currentskill > 710
  {
    while A notin #charStatus
      {
        event macro 15 106
        wait 1s
      }
  }
I also tried BA, but neither had the desired outcome. I suspect this is an easy fix for Guadah, I am more interested in learning for myself. Input on this solution would be appreciated.