Hi theMockster, Glad you're enjoying the sheet. That's a great use of the attacher section. I can see a few issues with your command syntax. The first is that the class level attributes are in the format class_#_level, and start with class_1 instead of class_0. Second, so that your player doesn't need to enter the perception/sense motive bonus for the entity trying to detect them, I'd recommend changing your /w gm macro around a little so that you don't need to worry about the html replacements. The techniques we're going to use here are adaptations of the macro mule and the chat menus . First, make a character called "Macros" or something similar; or if you are already using a macro mule, just put this into it. And add the following as an ability on it's attributes & abilities tab, named detection: /w gm &{template:sf_generic} {{r1name=?{Roll|Perception|Sense Motive}}} {{r1=[[1d20+?{Modifier|0}]]}} Then, in the attacher that you screen capped above, replace the /w gm ... section with the following: /w gm &{template:sf_generic} {{name=Detection attempt vs DC [[10+floor(1.5*@{class_1_level})}} {{buttons0=[Roll Detection Attempt](~macros|detection)}} This will then output a roll template with the DC and a button to roll a detection attempt that you can then roll as needed. And since we've moved the nested queries so that they are separate, we don't need to worry about html replacements. The output looks like this: I might recommend putting the "detection attempt vs dc" part in either the title field, or buttons0 (in which case, move the button to buttons1), but that's just personal preference.