TeamSkript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
D

Deleted member 11521

Skript Version: 2.2 (fixes V8b)
MC Version: 1.8.8
Addons: Skript, MundoSK, Skellett, SkQuery, skRayFall, skript-mirror, skript-ping-0.2, SkStuffe, TuSKe

Searched in docs? yes
Searched in forums? yes

Code:
command /ts [<text>] [<text>] [<text>]:
    trigger:
        if arg-1 is set:
            if arg-2 is not "poke" or "disconnect":
                if arg-3 is set:
                    send "&7Verbinde mit Daten &e%arg-1%&7, &e%arg-2%&7, &e%arg-3%&8..."
                    ts connect to "s08.ts3clan.de:9147" with user "TSBot" and credentials "HalloABC", "S4I2EBts"
#                    ts server connect to "%arg-1%" with user "TeamSpeakBot" and credentials "%arg-2%", "%arg-3%" on query port 9987
                    if the addon is connected to teamspeak:
                        send "&aVerbunden"
                    else:
                        send "&cNicht Verbunden"
                    stop
                else:
                    send "&e/ts IP LOGIN PASSWORD"
            if arg-2 is "poke":
                ts poke client "PC1up" with msg "Hallooooooooo"
            if arg-2 is "disconnect":
                ts disconnect
                send "&cGetrennt"
        else:
            send "&e/ts IP LOGIN PASSWORD"

If i try to connect to the teamspeak it says, that the Bot is not connected. If I try it without a Port, it says the Bot is connected but I need a Port. Also tried it with a domain.

Sorry for asking so much things, I'm trying new things in Skript I've never tried before <3
[doublepost=1592399845,1592388067][/doublepost]push
 
Skript Version: 2.2 (fixes V8b)
MC Version: 1.8.8
Addons: Skript, MundoSK, Skellett, SkQuery, skRayFall, skript-mirror, skript-ping-0.2, SkStuffe, TuSKe

Searched in docs? yes
Searched in forums? yes

Code:
command /ts [<text>] [<text>] [<text>]:
    trigger:
        if arg-1 is set:
            if arg-2 is not "poke" or "disconnect":
                if arg-3 is set:
                    send "&7Verbinde mit Daten &e%arg-1%&7, &e%arg-2%&7, &e%arg-3%&8..."
                    ts connect to "s08.ts3clan.de:9147" with user "TSBot" and credentials "HalloABC", "S4I2EBts"
#                    ts server connect to "%arg-1%" with user "TeamSpeakBot" and credentials "%arg-2%", "%arg-3%" on query port 9987
                    if the addon is connected to teamspeak:
                        send "&aVerbunden"
                    else:
                        send "&cNicht Verbunden"
                    stop
                else:
                    send "&e/ts IP LOGIN PASSWORD"
            if arg-2 is "poke":
                ts poke client "PC1up" with msg "Hallooooooooo"
            if arg-2 is "disconnect":
                ts disconnect
                send "&cGetrennt"
        else:
            send "&e/ts IP LOGIN PASSWORD"

If i try to connect to the teamspeak it says, that the Bot is not connected. If I try it without a Port, it says the Bot is connected but I need a Port. Also tried it with a domain.

Sorry for asking so much things, I'm trying new things in Skript I've never tried before <3
[doublepost=1592399845,1592388067][/doublepost]push
remove ur ts3 credentials from the code RIGHT NOW
 
remove ur ts3 credentials from the code RIGHT NOW
They aren't working anymore
I already used this credentials in YaTQa to test, if that's the reason why it isn't working so the credentials aren't working anymore.
[doublepost=1592756080,1592544737][/doublepost]a little push
 
Status
Not open for further replies.