|
|
@@ -1,15 +1,34 @@
|
|
|
#!/usr/bin/python
|
|
|
import plaudereckenbot
|
|
|
import time
|
|
|
+
|
|
|
+# IP of the TS3 server
|
|
|
IP = ""
|
|
|
+
|
|
|
+# Query port of the TS3 server
|
|
|
PORT = 10011
|
|
|
+
|
|
|
+# Username for the query
|
|
|
USERNAME = "serveradmin"
|
|
|
+
|
|
|
+# Password for the user specified above
|
|
|
PASSWORD = ""
|
|
|
+
|
|
|
+# Displayname. Name visibible to the users
|
|
|
DISPLAYNAME = "Plauderecken-Bot"
|
|
|
+
|
|
|
+# The ID of the virtual server to run on
|
|
|
SID = 1
|
|
|
-ORIGINALCHANNELS = [151, 152, 153]
|
|
|
-CHANNELLIST = [151, 152, 153] # == ORIGINALCHANNELS
|
|
|
+
|
|
|
+# Which channels should be treated as the original channels
|
|
|
+CHANNELLIST = [151, 152, 153]
|
|
|
+
|
|
|
+# Channel ID of the parent channel. Created channels are children of this
|
|
|
CPID = 54
|
|
|
+
|
|
|
+#########################################################################
|
|
|
+
|
|
|
+
|
|
|
pBot = plaudereckenbot.pBot(IP, PORT, USERNAME, PASSWORD, DISPLAYNAME,
|
|
|
SID, CHANNELLIST, CPID)
|
|
|
while 1:
|