Run Ts3 .sh script local

Kamikaze

CipherSpeak Developer
May 2, 2016
6
3
96
Hey guyz

I have installed ts3server localy now i try to run a .sh script with cygwin.
Thats the output but nothing happens:

Administrator@*************~
$ bash /cygdrive/c/inetpub/vhosts/*******.de/httpdocs/TimeBot/botstart.sh

------------------------------------------------------------------------
| |
|
| ======================================== |
| | Ts-Islam | |
| ======================================== |
| |
------------------------------------------------------------------------

Administrator@********~
##########

Thats what i want to use: https://github.com/warningman/TS-ISLAM/tree/master/TimeBot-Style1
 
Last edited:

0x0539

Retired Staff
Contributor
Jan 30, 2016
1,334
1,146
254
Code:
if [ "$1" = "stop" ]
then
pkill -f Info
echo -e "Info: $COL_GREEN Bot has been STOPED! $COL_RESET"
fi
if [ "$1" = "start" ]
then
screen -dmS Info php timebot.php -i 1
echo -e "Info: $COL_GREEN Bot has been STARTED! $COL_RESET"
fi
./botstart.sh start to start to start
./botstart.sh start to stop to stop

I didn't understand your question, I hope this helps.
 

Kamikaze

CipherSpeak Developer
May 2, 2016
6
3
96
better explanation -> next post
 
Last edited:

Kamikaze

CipherSpeak Developer
May 2, 2016
6
3
96
Don't post ips !
I trying to run the .sh file via cygwin. But the script isnt working, so what i do wrong ?

Thats the config of script:
PHP:
<?php

$ts3_ip = 'REMOVED'; #IP Adress

$ts3_queryport = 10011 ; #Queryport

$ts3_port = 9987; #Port

$ts3_user = '*******'; #Login Query

$ts3_pass = '*****'; #Password Query

$bot_nickname = 'TimeBot' #Name Bot

$bot_move = 1 ; #ID Channel to move

$channel_id_1 = 2 ; #ID Channel time 1

$channel_id_2 = 3 ; #ID Channel time 2

$channel_id_3 = 5 ; #ID Channel time 2

$channel_id_4 = 6 ; #ID Channel time 4

?>

I just got this output: (no error / start or stop)
Code:
Administrator@*******~
$ /cygdrive/c/Users/Administrator/Downloads/TimeBot/botstart.sh

------------------------------------------------------------------------
|                                                                      |
|
|               ========================================               |
|               |          Ts-Islam             |              |
|               ========================================               |
|                                                                      |
------------------------------------------------------------------------

hope this will explain my problem more^^
 
Last edited by a moderator:
Top