Just so I can get it through my head what you are wanting to do:
What I would like to do is to be able to identify what difficulty level a player has chosen so as to display the mode selected in the Menu. I can do this using Yanfly's menu scripts if I have a variable switch which picks this up.
What exactly would be displayed on this menu? Is it just the text "Easy", "Normal", "Hard", etc? Is this meant to be an option on a menu that does something based on what difficulty you have set, or is it just visual?
Also, what menu are we talking about here? Is it the one that already has "Difficulty" on it once the script is installed? Is it just that you want "Difficulty" to now include the current setting on the menu?
If it's just visual text and if you need to use a variable, then I would actually just suggest doing the following:
Add this line to the Module TODDDIFFICULTY section (just below SWITCH = 5) at about line 72
#Variable to be used for storing the currently selected difficulty text VARIABLE_TEXT = 1and make the number whatever variable id you want to use to store the text.Then change the following methods to add the storing of the text to the variable:
def command_easy $game_system.todd_difficulty = 0 $game_variables[TODDDIFFICULTY::VARIABLE_TEXT] = TODDDIFFICULTY::EASYT Audio.se_play("Audio/SE/" + TODDDIFFICULTY::SE, 100, 100) return_sceneend#--------------------------------------------------------------------------# * [normal] Command#--------------------------------------------------------------------------def command_normal $game_system.todd_difficulty = 1 $game_variables[TODDDIFFICULTY::VARIABLE_TEXT] = TODDDIFFICULTY::NORMALT Audio.se_play("Audio/SE/" + TODDDIFFICULTY::SE, 100, 100) return_sceneend#--------------------------------------------------------------------------# * [heroic] Command#--------------------------------------------------------------------------def command_heroic $game_system.todd_difficulty = 2 $game_variables[TODDDIFFICULTY::VARIABLE_TEXT] = TODDDIFFICULTY::HEROICT Audio.se_play("Audio/SE/" + TODDDIFFICULTY::SE, 100, 100) return_sceneend#--------------------------------------------------------------------------# * [hard] Command#--------------------------------------------------------------------------def command_hard $game_system.todd_difficulty = 3 $game_variables[TODDDIFFICULTY::VARIABLE_TEXT] = TODDDIFFICULTY::HARDT Audio.se_play("Audio/SE/" + TODDDIFFICULTY::SE, 100, 100) return_sceneendYou could check that the variable is being updated with the correct text but running a playtest, hit Esc for the menu, selecting a Difficulty and then when you are back on your map press F9 and scroll down to find the variable with the Id you gave to VARIABLE_TEXT. The value of the variable should be the text for whatever difficulty you selected.
Hope that is the sort of thing you are looking for. If not, just let me know and we'll see if we can work this out more.