How To Use Commands With Variables In Skript | Minehut 101

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 88

  • @argebe4946
    @argebe4946 5 років тому +10

    I like tabs when doing code like html, css, because those languages aren't too harsh on indents. In skript I like to do spaces, just to make sure I don't get any indentation errors.

    • @Almondz_
      @Almondz_ 2 роки тому

      my 205 tab indent errors laughing at me

    • @EclipsesGoBy53929
      @EclipsesGoBy53929 Рік тому

      I just don't indent unless I have to.

  • @ayeKimoYT
    @ayeKimoYT 5 років тому +19

    I'm actually really good at skripting... I just like watching these videos so I can laugh at you using 2 space indentations..

    • @MangoPlayzMinecraftandmore
      @MangoPlayzMinecraftandmore 5 років тому

      can u make skrip vids pls if ur better

    • @CyberedCake
      @CyberedCake 4 роки тому

      He wasnt bragging?

    • @keristah1
      @keristah1 4 роки тому

      Cymen ur rude

    • @ayeKimoYT
      @ayeKimoYT 4 роки тому +1

      @@keristah1 i quit minehut 8 months ago and you come here after 8 months replying? lmbo

    • @ayeKimoYT
      @ayeKimoYT 3 роки тому

      Why are people still replying to this

  • @LMJPDN
    @LMJPDN 4 роки тому +2

    How would you make a level up system from sending messages like mee6

  • @agentorw634
    @agentorw634 5 років тому +4

    Hey. I think you guys should do a video on what i call it "Insterted Variables" Wich can be used to a lot of things that i dont see that many pouple use:
    so a "Insterted Variable" is basicly what you guys did in this video buy counting up numbers but with Insterted Variables you can count in Variables, the code would look something like this:
    variables:
    {Question1} = "What is your name ?" So here we ahve 2 variables, Question 1 and Qesution 2
    {Question2} = "How old are you ?"
    {QuestionNumber} = 0


    command /question:
    trigger:
    add 1 to {QuestionNumber}
    message "%{Question%{QuestionNumber}%}%" So here you can see that by doing this command the first time
    the command will give the first question beacuse {QuestionNumber} is uqual to 1
    and the second time it gives the other question beacuse now {QuestionNumber} is equal to 2
    and this works beacuse skript will always replace variables with % around them with the value of the variables
    wich in this case is 1 or 2
    thats why i call it an inserted variable since we are just replacing another variable with a part of the other variable

    • @TeamOP
      @TeamOP 5 років тому +2

      You mean an array, also it's really weird how skript handles arrays tbh.

    • @agentorw634
      @agentorw634 5 років тому +1

      Yeah arrays what ever and i think the same too but do you think they should make a video on it? Trying to Get some opinions

    • @agentorw634
      @agentorw634 5 років тому +1

      Actchually no not arrays this is another thing

    • @argebe4946
      @argebe4946 5 років тому +1

      @@agentorw634 I would wanna see a video on that.

    • @agentorw634
      @agentorw634 5 років тому +1

      Nice 👍

  • @Otto-w5c
    @Otto-w5c 5 років тому +5

    you should make a tutorial of how to use the towny plugin

    • @Orincaby
      @Orincaby 5 років тому +2

      Why do THEY have to make a tutorial for everything? Just search a tutorial on youtube!

    • @Hitury
      @Hitury 4 роки тому

      @@Orincaby exactly. This isn't a tutorial channel. There are so many towny tutorials on yt and google

    • @Orincaby
      @Orincaby 4 роки тому

      @@Hitury Yeah, true. They're GUIDE videos, not direct tutorials.

    • @Orincaby
      @Orincaby 4 роки тому

      @@Hitury They're made so you can use the information and add onto it in your skripts.

    • @Hitury
      @Hitury 4 роки тому

      @@Orincaby yeah.. i dont see 'tutorial' in the title..

  • @starglowwOS
    @starglowwOS 5 років тому +5

    I like spaces when I'm writing in Atom.
    I like tabs when I'm writing in skUnity Parser.
    I LIKE EM BOTH

  • @MartHus_Gaming
    @MartHus_Gaming 5 років тому

    You guys are awsome you have lerned me a lot so far

  • @Eliias_g
    @Eliias_g 4 роки тому +1

    how do i make a variable only count for the player? (ex. if i type /count 10 times it will say 10 for me but if my friend types /count 3 times it will say 3 for him)

  • @megaforceAmis
    @megaforceAmis 4 роки тому +1

    you pro at skripting!

  • @golucki1980
    @golucki1980 2 роки тому

    when i make a skript like /discord players dont have permission to use the command how do i give them permission

  • @domz7401
    @domz7401 3 роки тому

    How can you make it so a variable doesent go past say 10

  • @broderick5834
    @broderick5834 5 років тому +1

    How can people upload their own data packs? Can a video be made on that?

    • @Orincaby
      @Orincaby 5 років тому

      Create a folder in the minehut webpanel, then upload each individual file in your datapack zip into the folder you created.
      If this is too difficult to understand, then don't bother using datapacks with minehut.

  • @kingfan277
    @kingfan277 5 років тому +1

    you should add a download link for atom on each skript tutorial pls

    • @kgaming7599
      @kgaming7599 4 роки тому

      Just search atom download on google it'll be the first one probably

    • @wiberly661
      @wiberly661 3 роки тому

      or just code it urself its so fucking ez

  • @CsBercel
    @CsBercel 4 роки тому +1

    5:57 oops

  • @alexander3622
    @alexander3622 4 роки тому +1

    How to make Tpa command

  • @cameronhuff1
    @cameronhuff1 4 роки тому

    how do i see the total amount of players who have joined my server plz reply with a skript

  • @alexplaysgr5648
    @alexplaysgr5648 4 роки тому

    How to make it so that when the variable is not set it shows 0 instead of none? bc when I do:
    if {example.%player%} is not set:
    set {example.%player%} to 0
    it doesn't work it tells me that it doesn't understand the "if {example.%player%} is not set:"

    • @lovenorrstrand
      @lovenorrstrand 4 роки тому

      It’s because of in skript 0 it’s none

  • @ProGamer-yc6gw
    @ProGamer-yc6gw 5 років тому +3

    trent cant even skript he looks at a screen

    • @twan8427
      @twan8427 4 роки тому

      no one asked

    • @ProGamer-yc6gw
      @ProGamer-yc6gw 4 роки тому +1

      @@twan8427 Silence donkey

    • @HonkChamp
      @HonkChamp 4 роки тому

      Maybe he doesn’t want to mess up. Maybe people are still learning.

  • @notshaye4120
    @notshaye4120 3 роки тому

    how to make automated messages using skript

  • @lovenorrstrand
    @lovenorrstrand 4 роки тому +1

    When the op reset the count doesn’t it just reset the count of the executor

  • @bloodsdiamond4819
    @bloodsdiamond4819 4 роки тому

    How do i make a /spawn command

    • @Minehut
      @Minehut  4 роки тому

      ua-cam.com/video/0ltYvedAShI/v-deo.html

  • @climbingcreeper1609
    @climbingcreeper1609 5 років тому

    How to I make a if player has diamond give obsidian?

    • @Minehut
      @Minehut  5 років тому +1

      Hey! Not sure exactly what you mean, but if you join the discord link in the description, we can help you out in #skript :)

    • @starglowwOS
      @starglowwOS 5 років тому

      if player has a diamond:
      #do stuff idk if itll work but byou rpobably already got it so idc lol

  • @MartHus_Gaming
    @MartHus_Gaming 5 років тому

    How can you make it so everyone can see the message

    • @Orincaby
      @Orincaby 5 років тому +1

      Well first, fix you english.
      And replace "send" with "broadcast"

    • @MartHus_Gaming
      @MartHus_Gaming 5 років тому

      @@Orincaby fix you`re English not fix you English
      and btw my first language isnt English so blame Grammarly

    • @lovenorrstrand
      @lovenorrstrand 4 роки тому

      Send “(message)” to all players
      There you your answer

  • @areyouserious5722
    @areyouserious5722 4 роки тому

    how to make people teleport to spawn with command

    • @FroggyLover69
      @FroggyLover69 4 роки тому

      execute console command "spawn %player%"

  • @zinc.c
    @zinc.c 4 роки тому

    tabs are ew spaces are the best

  • @fxded7877
    @fxded7877 5 років тому +1

    can you do skin changer

  • @embriko3701
    @embriko3701 5 років тому

    Could i borrow some credits?

  • @amannameddavid6854
    @amannameddavid6854 4 роки тому

    Tab!!

  • @smolkoolko
    @smolkoolko 3 роки тому

    TAB GANG! like if you like tabs

  • @ayeKimoYT
    @ayeKimoYT 5 років тому +1

    97930 credits LOL

    • @Orincaby
      @Orincaby 5 років тому

      I doubt you even smirked whilst appending "LOL" into your sentence.

  • @GamerKyle7147
    @GamerKyle7147 5 років тому

    Hey can you guys help me make a it where people donate me money

    • @Orincaby
      @Orincaby 5 років тому

      Well first, you're probably not gonna get any money with the name "Gamer Kyle 7147", but there's a plugin called Tebex and you can use that.

  • @gttmone
    @gttmone 4 роки тому

    TABS!

  • @GamingGaming-ir1xd
    @GamingGaming-ir1xd 3 роки тому

    tabs

  • @MartHus_Gaming
    @MartHus_Gaming 5 років тому

    Tabs is easier and faster

    • @Orincaby
      @Orincaby 5 років тому +1

      Yeah, but they're harder to read

    • @MartHus_Gaming
      @MartHus_Gaming 5 років тому

      @@Orincaby nope
      and when I tried to use spaces with script it didn't understand it

    • @Orincaby
      @Orincaby 5 років тому

      @@MartHus_Gaming 1 tab = 3 spaces

    • @MartHus_Gaming
      @MartHus_Gaming 5 років тому

      @@Orincaby i used 3 spaces and it didn't work and btw how is tabs harder to read that is just bs

    • @Merculos
      @Merculos 5 років тому

      tigerpulse one fab is four spaces.

  • @nickchourchoulis
    @nickchourchoulis 4 роки тому

    taaaaaaaaaabs

  • @ezgi9127
    @ezgi9127 5 років тому

    First

  • @abdullahalrusayyis1371
    @abdullahalrusayyis1371 5 років тому

    first

  • @ntcuk5282
    @ntcuk5282 5 років тому

    1live

  • @Veoxn
    @Veoxn 3 роки тому

    gay

  • @tobeornottobe7039
    @tobeornottobe7039 2 роки тому

    how do i make it so when someone places a firework it automatically does a command?

  • @ferryimportant8390
    @ferryimportant8390 3 роки тому

    tabs

  • @ayeKimoYT
    @ayeKimoYT 5 років тому

    First