PlaneShift
Development => Development Deliberation => Topic started by: owen_a on November 28, 2010, 01:43:56 am
-
Hello all,
I was wondering if someone could tell me how I could run a script with my server which loads my maps. I already have a textfile saved in the directory of my server called 'loadmaps.txt'.
and inside that file are 4 lines:
loadmap hydlaa_jayose
loadmap jayose
loadmap ojaroad1
loadmap hyoja2
Can anybody help me?
Thanks!
-
It looks like I lost my files from that time, but, if I remember correctly, you can add a parameter "--run=/this/script.name" and place your script in your planeshift folder.
Sen
-edit- corrected stupid wording
-
exec pathtothescript
if the file is test in the application folder it would be /this/test
same goes for --run=pathtothescript