Derivative AI is not only morally problematic, it is ill-equipped for the niche environment of Roll20. Much better to ask a community, as you have, for help. In this case, it is a pretty straightforward change. If the command you supplied is "well-formatted" (that is, it works as you have written it): !r ?{Amount of Dice|0} ?{Difficulty|6} ?{Specialty|0} ?{Willpower|0} 0 Then you can replace any of those queries (the things formatted like: ?{Prompt|0} ) for a reference to a selected token's attribute... for instance, the firearms attribute: @{selected|firearms} ...which, if substituted for the "Amount of Dice" query, would make the command line: !r @{selected|firearms} ?{Difficulty|6} ?{Specialty|0} ?{Willpower|0} 0 TIP: The attributes are case-sensitive, but you can enter the attribute formation into chat on its own to see if you get the appropriate value back. Once you know you have the correct name, use it in your command line. If all of your tokens have the same attributes (that is, they all have firearms, they all have brawl, they all have melee), then you can provide a query to choose between them: ?{Choose skill|Firearms,@{selected|firearms}|Brawl,@{selected|brawl}|Melee,@{selected|melee}} Then you could substitute that into your original command line, dropping the appropriate component it should replace.