

SimpleMacros was created to give you a better way of interacting with mods that can only be controlled through console commands.
give_item (from RoR2Cheats) can be run 50 times to give you 50 items at once.In-game menu:

BepInEx\plugins directory, or use your favorite mod managerBepInEx\config\local.recursiveGecko.ror2.SimpleMacros.cfgReload config or restart the gameThe configuration file can contain any number of macros, each one defined like this:
[Name of your macro]
command=console command that you want to run
shortcut=F3
repeat=20
Name of your macro: Can be almost anything you want, as long as there are no duplicates.
shortcut: Optional. Name of a valid KeyCode available in Unity. You can find a full list here: https://docs.unity3d.com/ScriptReference/KeyCode.html
repeat: Optional. How many times to execute this command when the macro is triggered.
Since both of these properties are optional, you don't have to define them. A macro without shortcut and repeat options will still be available as a button in the in-game menu.
There is also a an option that allows you to set a shortcut to toggle the visibility of the in-game menu:
toggle_menu_shortcut=F11
Please create an issue here. If you're reporting a bug, make sure to describe what happened, include your configuration file and any error output relating to SimpleMacros.