Cklows Posted May 19, 2021 Share Posted May 19, 2021 So the first thing you should be learning is how to setup a variable! This is 1 type of a variable {variable::%player's uuid%} Now we will learn how to use it in skript! command /variable: trigger: set {variable::%player's uuid%} to true on place of stone: if {variable::%player's uuid%} is false: cancel event else: send "&6You placed a stone block!" to player That is a way to use a variable in Skripting! You can also type whatever Variable you want such as {test::%player's uuid%} or even {test} {test} means it's from everyone {test::%player's uuid%} means that it's only from one person! You can also use a variable by doing something like! on first join: add 1 to {alljoins} command /alljoins: trigger: send "&6Unqiue Joins: %{alljoins}%" to player IGN ➣ Pickey ( Soon ) Joined MineHut ➣ January 7th 2019 Joined Forums ➣ January 11th 2021 Admin on NotedGens Manager on NotedGens Developer on CropiedDeveloper on Gennow (Genable) ==========================================Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )Retired From: InvadedLands ( Moderator ) Retired From: MineTime ( Sr.Moderator ) Retired From: Hero Mines ( Helper ) Link to comment Share on other sites More sharing options...
MeIsSmexyMan Posted May 19, 2021 Share Posted May 19, 2021 Omg thanks so much Link to comment Share on other sites More sharing options...
Cklows Posted May 20, 2021 Author Share Posted May 20, 2021 11 hours ago, MeIsSmexyMan said: Omg thanks so much No problem! IGN ➣ Pickey ( Soon ) Joined MineHut ➣ January 7th 2019 Joined Forums ➣ January 11th 2021 Admin on NotedGens Manager on NotedGens Developer on CropiedDeveloper on Gennow (Genable) ==========================================Best Job: Badlion ( Client Moderator [ Failed Trial / Demoted] )Retired From: InvadedLands ( Moderator ) Retired From: MineTime ( Sr.Moderator ) Retired From: Hero Mines ( Helper ) Link to comment Share on other sites More sharing options...
SuperOrca Posted May 24, 2021 Share Posted May 24, 2021 You didn't talk about local, memory, or metadata variables. Likes are appreciated Username: SuperOrca Discord: Link to Profile Rank: [VIP] Joined Minehut: August 10, 2017 Joined Forums: June 10, 2019 Experienced in Python, Java (mainly spigot), Javascript (node.js, basics of react.js), and Web Development. DM on discord me if you want a custom discord bot for your server (i'm bored). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now