Eventually, id like to have to target shardwurms untill it finds one with a light and then target that one. I just need a starting point, thanks for any help you guys can offer.
Moderator: MacroQuest Developers

This is great, and perfectly timed, I have tried to figure out how to target just a. lets say williwisp, with a light by using:GD wrote:/target id $searchspawn(light)
Code: Select all
/target id $searchspawn("willowwisp",npc,light)Code: Select all
/declare SpawnID global
/varset SpawnID $searchspawn(npc,class:wurm,light)
/if n @SpawnID>0 {
/target id @SpawnID
/delay 5
/face
}
Code: Select all
$spawn($searchspawn("shardwurm"),light)!=NONE /call TargetWurm