Save and execute the console command
Allows you to silently save and execute console commands in-game. You can also have them execute automatically for certain events, such as the start of combat and loading the game.
Screenshots 5 screenshots
About this mod Machine translation
Allows you to silently save and execute console commands in-game. You can also have them execute automatically for certain events, such as the start of combat and loading the game.
describe
This mod allows you to silently save and execute console commands in-game using ConsoleUtil's silent execution feature. You can also have them execute automatically for certain events: loading the game, combat starting, combat stopping, and location changes.
How to use
To save a command, go to MCM and select a list. Select the Set New Command option from the Edit Command drop-down list. Click Set Command and type the command you want to save. You can change the target behavior to "Set as crosshair reference", which will set the console reference to the crosshair reference before executing the command. You can also use "set to none" which will clear the console reference before executing the command. This is useful for switching commands such as TCAI. Setting to None will clear the reference to disable or enable combat globally.
When setting commands, you can make them dynamic using the following text:
TargetBaseID This text will use the base form ID of the current console target reference
TargetID This text will use the form ID of the current console target world reference
BaseID This text will use the base form ID of your current crosshair reference
RefID This text will use the form ID of the world reference for your current crosshair reference
So, for example, you could type the following command: "PlaceAtMe BaseID 1" without quotes. Set the target behavior to "Set as crosshair reference" which will copy your current crosshair reference.
Another example: type "Player.Additem BaseID 1" without the quotes, this will add a crosshair pointing to the item in your inventory.
You can also set the name of the command. example:
Type the command "fw 0010E1F2"
Enter the name "Clear Weather"
It will show up as "Sunny" in the list, but execute the fw 0010E1F2 command.
If no name is set, it will just use the command you set as name.
To execute commands, use low power or hotkeys. When used, it will pop up a list of all the commands you have saved for that list. Select a command and exit the list menu to execute it. To get a spell, click the Command Spells toggle for the list you're on to add the spell to your spell list.
When the Notification option is selected, a notification of the command results will be displayed. Therefore, the example TGM will display "God Mode Enabled" or "God Mode Disabled" in the upper left corner of the screen when executed in the list.
After setting all the settings, click on the Save Command option. You can then click the "Edit Command:" drop-down menu to select a previously saved command for editing or deletion.
You can also save all the commands in the list to a Json file you named and then load them, so they can be used between saves.
Note that this also works with batch files. Example: Let's say you want to add a bunch of items to any NPC in the game. You'll create a text file, name it anything you want (like AddItems), and place it in your Skyrim home folder. In your text file enter:
AddItem <ItemCode1> <Amount1>
AddItem <ItemCode2> <Amount2> etc...
Then set the command to "Bat AddItems" without quotes. Set the target behavior to "Set as crosshair". When executed from the list, it adds all items in the batch file and their quantities to the NPC the crosshair is pointing at.
compatibility
Should be compatible with everything.
Require
SKSE64
Sky UI
SkyUiLib: This is a link to Skyrim LE, it does work with SSE and is required.
ConsoleUtilSSE
PapyrusUtil
Install
Unzip to your data folder and check your loading order.
Uninstall
Deactivate in MCM and uncheck your load order.
My other mods
————————————————————————————
Description
This mod allows you to save and execute console commands silently in game with ConsoleUtil's silent execution function. You can also have them automatically execute for certain events …
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
- Place the files exactly as the readme says; mods with listed dependencies need those installed too.
- Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.
Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.