Solved Command Arguments I guess

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

mxntie

New Member
Sep 4, 2021
5
0
1
24
Hi. I am learning arguments for commands and I don't really know how to explain, so I am just going to post my skript and I am asking if anyone knows how to make this work. Will it work if I have a certain addon? Thanks.
 

Attachments

  • arg.txt
    488 bytes · Views: 95
Last edited:
try:

Code:
command /soundcountdown <integer>:
    trigger:
        loop arg-1 times:
            play sound "block.note_block.chime" with volume 1 to player

and please don't upload the file.
 
S
try:

Code:
command /soundcountdown <integer>:
    trigger:
        loop arg-1 times:
            play sound "block.note_block.chime" with volume 1 to player

and please don't upload the file.


Sorry, I didn't know how to upload it to make it look right if that makes sense, but thanks.
 
vOgWJgi.png
 
try:

Code:
command /soundcountdown <integer>:
    trigger:
        loop arg-1 times:
            play sound "block.note_block.chime" with volume 1 to player

and please don't upload the file.

This just made it so that the higher the number, the louder it became and there would only be one ding, So all I had to do was put wait 1 second on the end and then it worked. Cheers
 
Status
Not open for further replies.