I have a character with a staff of striking, which does different damage based on the number of charges expended. I can write an attack macro easily enough, but it occurs to me that there should be a way to write the macro such that it asks how many charges are to be expended and then bases the damage on that number. Does anyone have any ideas on how to accomplish this?