Exitlaunch (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


==[[Command Line Parameters|Command Line Parameter]]==
==[[Command Line Parameters|Command Line Parameter]]==
The command can be run automatically at log-in by adding it as a [[Command Line Parameters|Command Line Parameter]] to the [[Game Client|Extra Launch Parameters]] in the [[Homecoming Launcher]]. For example, <code>-exitlaunch "C:\games\TicTacToe\ttt.exe"</code>
The command can be made more or less permanent by running it automatically at log-in as a [[Command Line Parameters|Command Line Parameter]]. For example, <code>-exitlaunch "C:\games\TicTacToe\ttt.exe"</code>





Revision as of 22:09, 23 June 2023

Slash command

/exitlaunch FilePath

Set program to run when game exits

  • FilePath is the path to the executable (.exe) file or program to run.
  • Does not work with .lnk shortcut files or any file other than one ending in .exe.


Command Line Parameter

The command can be made more or less permanent by running it automatically at log-in as a Command Line Parameter. For example, -exitlaunch "C:\games\TicTacToe\ttt.exe"


Example

/exitlaunch "C:\games\TicTacToe\ttt.exe"

Also