Help blacklisting a mob in a script

naimean

Active Member
where im grinding there is a certain mob that is bugged and drops from combat as soon as the bot engages it. Because of this it regens too fast to be killed and if another mob adds while my character is fighting the invincible mob it spells out my demise.

is there a way to blacklist the name of the mob in the pull function. I don't know what the proper coding would be, im guessing it would be something like this?

if "(${Me.Target.name?}) = "whatever"
{
VGExecute /cleartargets
}

im sure there's probably something more efficient than this because thinking about it, it would probably just try to target the mob a million times and end up not doing anything
 
Last edited:

CrazyJosh1

Active Member
Code:
if (${Me.Target.Name} == x) 
{
VGExecute /cleartarget
}
However, I don't know if this would work since you would be trying to compare the variable to a name instead of numbers. Who knows. It could probably cause problems with many scripts.
 
Last edited:

Zeek

Active Member
Code:
if ${Me.Target.Name.Equal[${storedMobName}]}
{
  VGExecute /cleartargets
}
However you would probably be better off storing the Target.ID and compare that since filtering by name wont let you kill anything named that bugged or not.

That code would be:
Code:
if ${Me.Target.ID}==${storedMobID}
{
  VGExecute /cleartargets
}
Zeek
 
Top Bottom