Found myself powerleveling 2 casters and wanted to train skills while leveling, but only when no other people were near my toons.
Configure the variables in the top of the script and run it with /lua run watchforstrangers
Script will pause the running macro if one of the following is true
Configure the variables in the top of the script and run it with /lua run watchforstrangers
Variables:
local radius = 300
local people = 6
local guild = "GUILDNAME"
Script will pause the running macro if one of the following is true
- Someone from another guild is near you
- There are more than the specified amount of people within the specified radius