I know it's been asked before, but I just want to know how to show You have ("Energy"Variable Amount) energy

So I have a variable called energy that reduces as you do activities in my game, I just want the player to go to his bed and see a message saying "You have X Energy"

I googled this of course, but I kept getting this: $gameVariables.setValue(ID, "text") I have no idea what this means, where do I put the "Energy" variable name? ID or Text, neither worked, just tell me what I would put in, do I use the number assigned to the variable, Energy is variable 001
Show Text has "text codes": character sequences that do special things.

The \v[x] text code gets replaced by the value of variable ID x. So you could do something like:
  • Show Text: You have \v[123] Energy.
Replace 123 with the ID of your "energy" variable.
Just as a quick supplement - you can see all of the escape codes if you hover your mouse over the text box in the Show Text event command (or, of course, they're also listed in the editor's instructions).

Original thread: https://forums.rpgmakerweb.com/threads/i-know-its-been-asked-before-but-i-just-want-to-know-how-to-show-you-have-energy-variable-amount-energy.169012/