Another skript bug :D

  • 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 community!

    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.

PuchiGFX

Member
Jan 26, 2017
246
5
18
Skript Version: 2.2-Fixes-V8b (also tried DEV 25)
Skript Author: Bensku
Minecraft Version: 1.8.8
---
Full Code:
code_language.skript:
On disconnect:
    set {_test} to {vanish.%player%}
    send "&ca" to console
    send "%{_test}%" to console
    if {_test} is "true":
        send "&ca2" to console
        execute console command "/vanish %player%"


Errors on Reload:

no one

Console Errors: (if applicable)

Its not an error, but this is the bug:
code_language.skript:
[19:59:58] [Server thread/INFO]: PuchiGFX lost connection: Disconnected
[19:59:58] [Thread-59/INFO]: a
[19:59:58] [Thread-59/INFO]: <none>


Addons using (including versions):
I think this doesn't care in this case.

Troubleshooting:

Have you tried searching the docs? Yes
Have you tried searching the forums? No
What other methods have you tried to fix it? Add the messages to see what's going on
 
Skript Version: 2.2-Fixes-V8b (also tried DEV 25)
Skript Author: Bensku
Minecraft Version: 1.8.8
---
Full Code:
code_language.skript:
On disconnect:
    set {_test} to {vanish.%player%}
    send "&ca" to console
    send "%{_test}%" to console
    if {_test} is "true":
        send "&ca2" to console
        execute console command "/vanish %player%"


Errors on Reload:

no one

Console Errors: (if applicable)

Its not an error, but this is the bug:
code_language.skript:
[19:59:58] [Server thread/INFO]: PuchiGFX lost connection: Disconnected
[19:59:58] [Thread-59/INFO]: a
[19:59:58] [Thread-59/INFO]: <none>


Addons using (including versions):
I think this doesn't care in this case.

Troubleshooting:

Have you tried searching the docs? Yes
Have you tried searching the forums? No
What other methods have you tried to fix it? Add the messages to see what's going on
How is that a problem with Skript? It's to do with the vanish variable not having a variable, this is not even close to a bug.
 
How is that a problem with Skript? It's to do with the vanish variable not having a variable, this is not even close to a bug.
The variable is always set to true (i set when i join the server then i leave it)
 
remove quotes around true unless that's a string in the variable.
 
Status
Not open for further replies.