Discord Thread Help with a skript

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

This thread came from the skUnity Discord. You can't reply to it here but if you join the skUnity Discord, you'll be able to post a reply there. The thread link is part of the thread's message.
Status
Not open for further replies.

skUnity Discord

Site Manager
Aug 5, 2023
12,749
1
0
The skUnity Discord
discord.gg
im trying to make a super vanish skript and the else doesnt work idk why also im not that good at skript either, also here's my skript
command /sv:
permission: sv.skript
trigger:
execute console command "vanish %player%"
broadcast "&e%player% Has Left The Server"
set {sv.%uuid of player%} to true
else if {sv.%uuid of player%} is true:
execute console command "vanish %player%"
broadcast "&e%player% Has Joined The Server"
set {sv.%uuid of player%} to false

Posted by: Death Bringer.exe from the skUnity Discord. View the thread on skUnity Discord here
 
alr4
i have this now
command /sv:
permission: sv.skript
trigger:
if {sv.%uuid of player%} is not set:
execute console command "vanish %player%"
broadcast "&e%player% Has Left The Server"
set {sv.%uuid of player%} to true
else if {sv.%uuid of player%} is true:
execute console command "vanish %player%"
broadcast "&e%player% Has Joined The Server"
set {sv.%uuid of player%} to false

Posted by: Death Bringer.exe from the skUnity Discord.
 
like this?
command /sv:
permission: sv.skript
trigger:
if {sv.%uuid of player%} is not set:
execute console command "vanish %player%"
broadcast "&e%player% Has Left The Server"
set {sv.%uuid of player%} to true
else if {sv.%uuid of player%} is true:
execute console command "vanish %player%"
broadcast "&e%player% Has Joined The Server"
or do i just delete the variable completely?

Posted by: Death Bringer.exe from the skUnity Discord.
 
alr at the end?
command /sv:
permission: sv.skript
trigger:
if {sv.%uuid of player%} is not set:
execute console command "vanish %player%"
broadcast "&e%player% Has Left The Server"
set {sv.%uuid of player%} to true
else if {sv.%uuid of player%} is true:
execute console command "vanish %player%"
broadcast "&e%player% Has Joined The Server"
set {sv.%uuid of player%} to false
delete {sv.%uuid of player%}
like that?
<@590125197722386432>

Posted by: Death Bringer.exe from the skUnity Discord.
 
command /sv:
permission: sv.skript
trigger:
if {sv.%uuid of player%} is not set:
execute console command "vanish %player%"
broadcast "&e%player% Has Left The Server"
set {sv.%uuid of player%} to true
else if {sv.%uuid of player%} is true:
execute console command "vanish %player%"
broadcast "&e%player% Has Joined The Server"
delete {sv.%uuid of player%}
like that?

Posted by: Death Bringer.exe from the skUnity Discord.
 
command /sv:
permission: sv.skript
trigger:
if {sv.%uuid of player%} is not set:
execute console command "vanish %player%"
broadcast "&e%player% Has Left The Server"
set {sv.%uuid of player%} to true
else if {sv.%uuid of player%} is true:
execute console command "vanish %player%"
broadcast "&e%player% Has Joined The Server"
delete {sv.%uuid of player%}

Posted by: Death Bringer.exe from the skUnity Discord.
 
Status
Not open for further replies.