I'm not very experienced at macroing (I get by enough at least), and I don't know the system that Ranger you're referencing is from but this is what I've come up with with a character in Pathfinder as a base: ?{Favored Terrain?
|Yes, &{template:pf_generic} @{Ash|Perception-cond-notes} {{generic_note=@{Ash|Perception-note}}} {{name=^{perception}}} {{Check=[[ @{Ash|skill-query} + [[ (@{Ash|Perception})*2 ]] ]]}} @{Ash|toggle_accessible_flag} {{font=@{Ash|apply_specfont_chat} @{Ash|use_specfont}}} {{scroll_desc=@{Ash|scroll-desc}}} {{color=@{Ash|rolltemplate_color}}} {{header_image=@{Ash|header_image-pf_generic-skill}}} {{character_name=@{Ash|character_name}}} {{character_id=@{Ash|character_id}}} {{subtitle}&#125
|No, &{template:pf_generic} @{Ash|Perception-cond-notes} {{generic_note=@{Ash|Perception-note}}} {{name=^{perception}}} {{Check=[[ @{Ash|skill-query} + [[ @{Ash|perception} ]] ]]}} @{Ash|toggle_accessible_flag} {{font=@{Ash|apply_specfont_chat} @{Ash|use_specfont}}} {{scroll_desc=@{Ash|scroll-desc}}} {{color=@{Ash|rolltemplate_color}}} {{header_image=@{Ash|header_image-pf_generic-skill}}} {{character_name=@{Ash|character_name}}} {{character_id=@{Ash|character_id}}} {{subtitle}&#125
} Most of that was just copy pasted from the Pathfinder character sheet macro for Perception. You might be able to do much the same. It creates a drop down bar so you can give the macro input on whether the Ranger is in Favored Terrain or not. You could either: -make 2 macros (1 for perception like the one I pasted, and a 2nd that identical but putting Survival everywhere it says Perception instead) -Or you could change the query to something else that makes sense and make 4 choices instead of 2; 1 for each scenario: a) perc w/ FT b) perc w/o FT c) surv w/ FT d) surv w/o FT