I can't seem to figure out the best way to write a command that would trigger something if any PC's were within 20 feet of me.
Thanks in advance :)
Sky
Moderator: MacroQuest Developers


Code: Select all
/target pc radius 20
/if $target()=="TRUE" {
/echo "There is a PC within 20 of me!!!"
}
Code: Select all
/if n $searchspawn(pc,loc:$char(x):$char(y),radius:20)!=0 /call someaction
donations for this month's patches.