update:
After that last mq2 update suddenly my bot started divarbing again..
no clue why.
But, when he does i get the following error:
DoCommand: Coulnd't parse 'else'
afcleric.mac@513 (Divarbcast): else
afcleric.mac@634 (CheckHP):/call Divarbcast
spell_routines.inc@603 (WaitCast(string mySub)):/if($Bool[${mySub}])/call ${mySub}
spell_routines.inc@286 (Cast(string spellName,string spellType,timer giveUpTimer, string mySub)):/call WaitCast ${mySub}
afcleric.mac@491 (Healgroup):/call Cast "${patchheal}" gem8 1s CheckHP
afcleric.mac@249 (Main):/call Healgroup
The part it talks about most follows:
Code: Select all
Sub Divarbcast
/varset divarboor 0
/for gmember 0 to ${Group}
/if (${Group.Member[${gmember}].Distance}>200) /varcalc divarboor ${divarboor}+1
/next gmember
/if (${Math.Calc[${Group}-${divarboor}]}>=2) {
/if (${announce}==1) /g Inc Divine Arbitration
/if (${shieldtimer}!=0) {
/call cast "Divine Arbitration" alt 2s
}
else
{
/call cast "Harmony of the Soul" item
/varset shieldtimer 360s
}
/if ((${healafterdivarb}==1)&&(${Me.PctMana}>40)) {
/if (${announce}==1) /g Inc Grp Heal, get close
/call Cast "${groupheal}" gem6 2s
/delay 15 ${Me.SpellReady[${groupheal}]}
}
}
/return
There is a shieldtimer declare at the start:
Code: Select all
/declare shieldtimer timer outer 0s
Any help is appreciated )