DiSkyOrg / DiSky

The best Skript add-on for Discord management! Slash commands, interaction, components, modal and much more available!
https://disky.me/
Apache License 2.0
43 stars 12 forks source link

Code does not work #124

Closed nennneko5787 closed 1 year ago

nennneko5787 commented 1 year ago
every ticks:
    loop all players:
        if {linkdis.%loop-player%} is set:
            set {_channel} to voice members of voice channel with id "1063603228220084235"
            if "%{_channel}%" contain "%{linkdis.%loop-player%}%":
                if {siai} is true:
                    if {team.%loop-player%} is "blue":
                        move {linkdis.%loop-player%} to voice channel with id "1087257811798478860"
                    if {team.%loop-player%} is "orange":
                        move {linkdis.%loop-player%} to voice channel with id "1087257846372118568"

Error:

sk reload voicechat
[02:45:45 INFO]: [Skript] Reloading voicechat.sk...
[02:45:45 INFO]: Line 4: (voicechat.sk)
[02:45:45 INFO]:     {_channel} can only be set to one object, not more
[02:45:45 INFO]:     Line: set {_channel} to voice members of voice channel with id "1063603228220084235"
[02:45:45 INFO]:  
[02:45:45 INFO]: Line 8: (voicechat.sk)
[02:45:45 INFO]:     Can't understand this condition/effect: move {linkdis.%loop-player%} to voice channel with id "1087257811798478860"
[02:45:45 INFO]:     Line: move {linkdis.%loop-player%} to voice channel with id "1087257811798478860"
[02:45:45 INFO]:  
[02:45:45 INFO]: Line 10: (voicechat.sk)
[02:45:45 INFO]:     Can't understand this condition/effect: move {linkdis.%loop-player%} to voice channel with id "1087257846372118568"
[02:45:45 INFO]:     Line: move {linkdis.%loop-player%} to voice channel with id "1087257846372118568"
[02:45:45 INFO]:  
[02:45:45 INFO]: [Skript] Encountered 3 errors while reloading voicechat.sk! (11ms)