Why doesnt it send the message?

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

LauKast

Member
Feb 1, 2018
4
0
0
So this code is not done but i dont get why is doesn't send Teesst to the player when i execute
/CoreDefault Meny

Nofhing happening when i write it so i do not know what im doing wrong please help :emoji_slight_smile:

OBS: There is no error!


command /CoreDefault <text>:
trigger:
arg-1 is equal to "Pvp"
if {kit.Pvp.%player%} is set:
send "&cDu har redan tagit detta kit!" to player
stop
else:
set chestplate of player to iron chestplate
set leggings of player to iron leggings
set boots of player to iron boots
set helmet of player to iron helmet
set {kit.%arg-1%.%player%} to true
send "&7Du valde &ePvp &7kittet!" to player
stop
if arg 1 is "Meny":
send "Teesst" to player
 
it will not execute your last "if" statement because you have it set to always stop after your "else" statement. put the "if arg 1 is "Meny":" bit above your else statement. preferably above your first if statement too, so your else still corresponds to the "Pvp" condition.
 
Status
Not open for further replies.