Hello I am trying to make a macro for Turn Undead ability on my BECMI retro-clone game using 5e Defaut template. Problem is I am lost inside queries, HTML entities and the absurd way these rules work. First of all I need to explain how the rules work: you roll 2d6, look at your cleric table in which the following results are listed: - : no action possible. 11 : roll 2d6 and will succeed if the result will be 11 or higher. If succeeded, roll 2d6 again to see how many HD of undead you affect. 9 : roll 2d6 and will succeed if the result will be 9 or higher. If succeeded, roll 2d6 again to see how many HD of undead you affect. 7 : roll 2d6 and will succeed if the result will be 7 or higher. If succeeded, roll 2d6 again to see how many HD of undead you affect. T : automatic success, roll 2d6 to see how many HD of undead you affect. D : automatic success and undead are destroyed rather than simply turned. Roll 2d6 to see how many HD of undead you affect. D+ : automatic success and undead are destroyed rather than simply turned. Roll 3d6 to see how many HD of undead you affect. D# : automatic success and undead are destroyed rather than simply turned. Roll 4d6 to see how many HD of undead you affect. The calls to the values are made with such attributes: turnskeleton, turnzombie, turnvampire and so on... I was trying to build a macro that would prompt the user for the kind of undead, and then display the result accordingly, automatically rolling the necessary dice for the result and for the amount of HD affected. Any idea on how to proceed?