Mind Sharing which Version you Took ?Quote:
use that last vaettir salvage bot. he'd produce a lot of iron.
Quote:
Okay someone please explain this one to me before I lose all my hair....
Func UseSkillEx($aSkillSlot, $aTarget = -2, $aTimeout = 5200)
If GetIsCasting($aAgent) = False Then
If $IsHealerPrimary == True Then $aTimeout = 2500
Local $tDeadlock = TimerInit()
Local $TargetID = GetAgentID($aTarget)
If $TargetID <= 0 Then Return
If GetIsDead($aTarget) Then Return
;If GetMapLoading() <> $INSTANCETYPE_EXPLORABLE Then Return
ChangeTarget($aTarget)
UseSkill($aSkillSlot, $aTarget)
Do
Sleep(50)
If GetIsDead($aTarget) == 1 Then Return
If GetIsDead() == 1 Then Return
If GetAgentID($aTarget) <= 0 Then Return
;If GetMapLoading() <> $INSTANCETYPE_EXPLORABLE Then Return
Until GetSkillbarSkillRecharge($aSkillSlot) <> 0 Or TimerDiff($tDeadlock) > $aTimeout
If TimerDiff($tDeadlock) > $aTimeout Then $Skill_FAILED = $aSkillSlot
If $aSkillSlot > 1 Then RndSleep(50)
EndIf
EndFunc ;==>UseSkillEx
Error : Variable Used without being declared.
The variable is GetIsCasting($Agent) but why is it saying it's not being declared?