What directory do scripts need to be in for SPAWN_SCRIPT
- compguygene
- Adjust Outside Corner Grinder
- Posts: 2342
- Joined: Thu Aug 21, 2008 12:09 pm
- Location: Cleveland, Ohio
- Contact:
What directory do scripts need to be in for SPAWN_SCRIPT
I am starting to use php scripts with a server and wanted to use the SPAWN_SCRIPT command to launch the script. What I don't seem to find documented is where to place the script so the command will find the script. Is it based on --userdatadir, --userconfigdir, or some other option in the launch of the armagetronad-bin dedicated server. And yes, I am on Linux and understand this only is supported on Linux.
Armagetron: It's a video game that people should just play and enjoy
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
https://bit.ly/2KBGYjvCheck out the simple site about TheServerPharm
Re: What directory do scripts need to be in for SPAWN_SCRIPT
Should go in scripts/ by defaultcompguygene wrote:I am starting to use php scripts with a server and wanted to use the SPAWN_SCRIPT command to launch the script. What I don't seem to find documented is where to place the script so the command will find the script. Is it based on --userdatadir, --userconfigdir, or some other option in the launch of the armagetronad-bin dedicated server. And yes, I am on Linux and understand this only is supported on Linux.
Re: What directory do scripts need to be in for SPAWN_SCRIPT
<userdatadir>/scripts
Re: What directory do scripts need to be in for SPAWN_SCRIPT
For future reference, don't forget to put the ending slash or someone might think its a txt file or something, instead of a folderdlh wrote:<userdatadir>/scripts
Re: What directory do scripts need to be in for SPAWN_SCRIPT
In this case it probably wouldn't matter.aP|Nelg wrote:...someone might think its a txt file or something, instead of a folder