Hey guys this thread is gonna be documenting a script I'll be working on. I run games with the Adventurer, Conqueror, King System (ACKS) so a lot of the design will be based on that but I'll try to add config options in later versions.  Essentially the script will determine what tokens are in range of a missile/ranged attack or spell and return the tokens chosen by the player. This is meant to be used in coordination with a script for combat rolls and auto-calculating damage (another script in working on that will be called Combat Roll) Input: (acting token, effect options)         effect options:             the range of the effect             target type: individual, group, area of effect             discrimination: allies, enemies, flying, grounded, underground, impaired, sentient, [size], etc. Calculate:   position of acting token arrays of positions within range (for ACKS there is short, medium, and long range) and one for those not in range; make a seperate array for each range classification place each token with remaining hitpoints, that is visible to the player, within their appropriate array Output to User: query for target selection for each array of tokens, display an aura corresponding with their range classification: green, missile attacks in range; blue, spells in range; yellow, missile attacks medium range; red, missile attacks long range; grey, not in range rephrase the query until target selection is satisfactory; rephrase if target not in range is selected or until the attack is cancelled Return: an array of tokens to be used in the combat roll scripts, paired with any range modifiers (to hit, damage) Let me know if you have any suggestions or see any potential pitfalls. Thanks!