I have made a rail to help me kill monster.   
 Right now it work like it suppose but sometime  the monster don't die on the first cast.  I add a double cast  but I'm sure their a better way to do this.  
repeat
   for %C 1 21
    {
    if #HITS < ( #MAXHITS - 15 )
      {
      Event exmsg #CHARID 3 30 Damage heal!
         if C in #CHARSTATUS
             gosub TM_NewCastSpell 24 SELF -1 20 20 ;  cast A cure until successful
         gosub TM_NewCastSpell 28 self 1 10 10 ; G Heal support Charactere
       }
     gosub pathfind_to_point  %Spotx . %c %Spoty . %c
      Finditem %Castsummon G_8     
       if #findCnt > 0  &&  #FOLLOWERS < 5
         gosub castsummon 57 ;  606 NF _57  EV
      Finditem %Rikktor G_5
         if #findCnt > 0
            gosub wither
       Finditem %Rikktor G_5
         if #findCnt > 0
            gosub wither
      }
until #charghost = yes