Jump to content

Custom script - object not working


Felipe T

Recommended Posts

Hi,

 

I need to create a custom script using the object related to "this server" called GameFilesPath. I have tried many ways, but seems that it's not working.

 

I wrote this script for testing:

 

#!/bin/bash
echo ${TCAdminFolder} >> /home/tcagame/result.txt
echo "test" >> /home/tcagame/result.txt
echo ${GameFilesPath} >> /home/tcagame/result.txt
exit 0

 

The result is good for the the 1st and 2nd echo, but the third, as I expected, is not working, it just gave me a white line.

 

Is there anything that is needed to be done that I am missing?

 

Ty!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 3 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use