10 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!\C:\Perl\bin\perl.exe
#
use IO::Socket;
my $sock = IO::Socket::INET->new(qq(127.0.0.1:51234));
{
print $sock qq(sel 8767\n);
print $sock qq(slogin superadmin ******\n);
print $sock qq(msgall @ \n);
while () {
print $sock qq(msgall @ ==========\n);
print $sock qq(msgall @ \n);
print $sock qq(msgall @ \n);
print $sock qq(msgall @ ==========\n);
print $sock qq(msgall @ Please dont idle on this Teamspeak Server\n);
print $sock qq(msgall @ Guest User Change Please your Nickname\n);
sleep 120;
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!\C:\Perl\bin\perl.exe
#
#
use IO::socket;
#
my $TSSock = IO::Socket::INET->new(qq(88888888:ßßßß));
my $ci = 4;
for ($i=0; $i<19999; $i++ ){
print $TSSock qq(sel 8767\n)or die "Teamspeak-Port Closed";
print $TSSock qq(slogin superadmin *****\n)or die "ERROR !Check Login Name/Pass";
print $TSSock qq(mptc $ci $i\n);
print $TSSock qq(sppriv $i privilege_channelsticky 1\nquit);}
#########
Hier Fehlt noch einiges.
An dem unteren Teil hapert es noch.)
#########
if ( $cm eq "mptc" ) {
print $TSSock "dccl\n";
$x=1;
$z=0;
while (defined($line = <$TSSock>)) {
my($uid,$cid,$cname,$pid,$pname) = split( "\t", $line, 4);
if ($uid=="OK") {
if ($x==0) {
last;
}
$x--;
}
if (($nr1*60) -lt $idle) {
print $TSSock "kick ".$uid." $nr2\n";
$z++;
}
}
if ($x==0) {
print "\nOk , $z User moving....\n";
}
}
10 Einträge, 1 Seite |