Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub GroupDistanceStatus
/for i ${Group.Members} downto 1
/if (${Group.Member[${i}].ID} && ${Group.Member[${i}].Distance}>80) /echo WARNING!! ${Group.Member[${i}].CleanName} is ${Group.Member[${i}].Distance} away!
/next i
/return
Sub RaidDistanceStatus
/for i ${Raid.Members} downto 1
/if (${Raid.Member[${i}].ID} && ${Raid.Member[${i}].Distance}>80) /echo WARNING!! ${Raid.Member[${i}].CleanName} is ${Raid.Member[${i}].Distance} away!
/next i
/return
There has been some additions to the Group TLO that make is possible to check for .AnyoneMissing, .Offline, or .OtherZone. Though I do not think any specifically check for that on raids, nor check distance parameters. Though I imagine you could use some code. Something like:
Rich (BB code):Sub GroupDistanceStatus /for i ${Group.Members} downto 1 /if (${Group.Member[${i}].ID} && ${Group.Member[${i}].Distance}>80) /echo WARNING!! ${Group.Member[${i}].CleanName} is ${Group.Member[${i}].Distance} away! /next i /return Sub RaidDistanceStatus /for i ${Raid.Members} downto 1 /if (${Raid.Member[${i}].ID} && ${Raid.Member[${i}].Distance}>80) /echo WARNING!! ${Raid.Member[${i}].CleanName} is ${Raid.Member[${i}].Distance} away! /next i /return