Skript help!

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

    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.
Hello, I am making a supply drop skript but for some reason it wont work. I am not sure how to do this. Could someone please explain. No errors just doesnt work.

This is the whole code
https://hastebin.com/anolecefeb.py

The broken part

https://hastebin.com/giyajanoye.coffeescript

#1
Any console errors?
Use
code_language.skript:
else if arg 1 is "start":
or maybe this is better:
code_language.skript:
if arg 1 is "start":
    send "1" to all players
else:
    send "&c/Supplydrop &6<start>" to player

EDIT: Don't use [<text>] if the command doesn't work if the arg-1 is not start. Use this:

code_language.skript:
command /supplydrop <Text>:
    permission: server.supplydrop
    permission message: &6You are lacking permission &yserver.supplydrop
    trigger:
        if arg-1 is not "start":
            send "&c/Supplydrop &6<start>" to player
        else:
            #stuff if command is /supplydrop start
 
Last edited:
Status
Not open for further replies.