Exitlaunch (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
* Does not work with .lnk shortcut files or any file other than one ending in .exe.
* Does not work with .lnk shortcut files or any file other than one ending in .exe.


'''Note:''' Works with Windows. Might work in MacOS or Linux OS, but haven't figured out how to do it yet. Might not be possible.
 
==[[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>
 


==Example==
==Example==
Line 16: Line 19:
* {{slashcommand|quit}}
* {{slashcommand|quit}}
* {{slashcommand|exitlaunch}}
* {{slashcommand|exitlaunch}}
{{Navbox Command Line Parameters}}
[[Category:Slash Commands]]
[[Category:Command Line Parameters]]

Revision as of 22:05, 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 run automatically at log-in by adding it as a Command Line Parameter to the Extra Launch Parameters in the Homecoming Launcher. For example, -exitlaunch "C:\games\TicTacToe\ttt.exe"


Example

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

Also