Review Userbot

BIOS

Knowledge Seeker
VIP
Oct 10, 2015
447
848
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:
Code:
./userbot.pl {start|stop|create|status} inifile `
  • Code:
    ./userbot.pl create [.ini Name]
    this command creates an ini file. /home/teamspeak/userbot/userbot.pl create userbot
  • Code:
    ./userbot.pl start [.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 userbot
  • Code:
    ./userbot.pl status
    Displays all running bots with their process id and the used .ini file

Usage
User Commands

  • Code:
    !help
    -Shows all set commands
  • The User Defined commands which are created in the INI file. Example:
Code:
befehle_list=!testa:9;!testb:10"

Code:
! testa
will assign the user the group with the id
Code:
9
Code:
! testb
to the group with the id
Code:
10
.
Code:
! testa-del
removes the user from the group with the id
Code:
9
. Analog with
Code:
! testb-del
. The possibility -del can be deactivated in the ini file with
Code:
disabledel = 1
.

Admin commands Only displayed / enabled for users whose UUID is entered as a parameter in the
Code:
admin_list
in the INI.

  • Code:
    !debug
    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:
    !movebot=to_channelid
    - Moves the bot to the specified channel id. There then the commands are executable.
  • Code:
    !movetemp=to_channelid
    - Moves all temporary-existing channels to the specified channel ID (as a sub-channel).
  • Code:
    !reload
    - Reload the config file (not the script itself!)
  • Code:
    !quit
    terminates the bot (also deletes the .pid file) This is not the case for manual kill case => no cleanup.)
For questions or problems: info [at] mzhost.de => In case of problems: describe problem, turn on debug and add the created file as an attachment.Alterantiv Issue on Github.
 
Top