- Oct 10, 2015
- 447
- 850
- 208
First its not Mine i found this on Github!
Installation
git clone https://github.com/MzHost/teamspeak-userbot
Dependencies:
Net Telnet 3:
Debian 7/8:
apt-get install libnet-telnet-perl
Manual Download http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-3.04.tar.gz
Parameter:
Usage
User Commands
will assign the user the group with the id
.´
to the group with the id
.
removes the user from the group with the id
. Analog with
. The possibility -del can be deactivated in the ini file with
.
Admin commands Only displayed / enabled for users whose UUID is entered as a parameter in the
in the INI.
Installation
git clone https://github.com/MzHost/teamspeak-userbot
Dependencies:
Net Telnet 3:
Debian 7/8:
apt-get install libnet-telnet-perl
Manual Download http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-3.04.tar.gz
Parameter:
Code:
./userbot.pl {start|stop|create|status} inifile `
-
this command creates an ini file. /home/teamspeak/userbot/userbot.pl create userbotCode:
./userbot.pl create [.ini Name] -
This will start a bot with the specified ini file. So several bots are possible at the same time (if previously a second .ini file was created with Create) /home/teamspeak/userbot/userbot.pl start userbotCode:
./userbot.pl start [.ini Name] -
Displays all running bots with their process id and the used .ini fileCode:
./userbot.pl status
Usage
User Commands
-
-Shows all set commandsCode:
!help - The User Defined commands which are created in the INI file. Example:
Code:
befehle_list=!testa:9;!testb:10"
Code:
! testa
Code:
9
Code:
! testb
Code:
10
Code:
! testa-del
Code:
9
Code:
! testb-del
Code:
disabledel = 1
Admin commands Only displayed / enabled for users whose UUID is entered as a parameter in the
Code:
admin_list
-
turns on the debug. If you enter it again, it switches it off again. It will create a "debug.txt". Manual switch on is set in the script in line 18 to switch a permanent debug on or off.Code:
!debug -
- Moves the bot to the specified channel id. There then the commands are executable.Code:
!movebot=to_channelid -
- Moves all temporary-existing channels to the specified channel ID (as a sub-channel).Code:
!movetemp=to_channelid -
- Reload the config file (not the script itself!)Code:
!reload -
terminates the bot (also deletes the .pid file) This is not the case for manual kill case => no cleanup.)Code:
!quit