I'm trying to create a macro for generating NPCs on the fly. Ideally, my macro would open a pop-up window and with a first drop-down menu for selecting a race. Each race has a set value of attributes. Since I'm using GURPS it's ST, DX, IQ and HT. My idea is that these values would come from each race's basic attribute and then I would roll a random value on top of it, say ST [[10+2d3]]. The second drop-down is select the level of the NPC (i.e., grunt, corporal, captain), to increase or decrease the attributes according to "challenge rating", which I know does not exist in GURPS, but bear with me. Above captain level, I would be tailoring NPCs to suit. The third drop-down would regard where armour is worn (torso-only, torso and arms, full body, etc), please note I'm not even counting the amount of damage resistance. Yet! The fourth drop, the kind of melee weapon (say, club). The fifth, the kind and quantity of range weapons (say, short-bow and 5 arrows) Finally, the macro would generate a character and place on the map (at a given position). Is this possible?