So i am making a party chat with Skript [in minecraft] put i ran into a problem
The problem is that for some reason it executes into the if isnt set and still haven't found a way to fix it, here is my code, helping would be appreciated :D
command /party :
aliases: /p
usage: /party Create /party Chat
trigger:
if arg-1 is "Create":
set {partylist::%player's uuid%} to random integer between 0 and 999999999999 #note this one isnt finished so you dont have to touch it
send "&eYour party was created!"
set {_plrparty} to true
if arg-1 is "Chat":
if {_plrparty} is not set:
set {_plrparty} to false
send "&4You are not in a party"
else if {_plrparty} = true:
send "&7You are now in party chat"
else:
send "&4You are not in a party"
send "else"