whoswish Posted March 26, 2021 Posted March 26, 2021 tarna probs wont like it but whatever, i only made warns and mutes skripts for now and its in the pastebin ill update it in a while when im done making the rest https://pastebin.com/TEurhBEs i already know its bad so u dont have to tell me i only made this in like 45 minutes
_Tarna_ Posted March 26, 2021 Posted March 26, 2021 yes I don't like the nested variables and not using uuid in the variables. But other than thats, its ok. Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Community Support - 7/8/20 - 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - 12/20/22 Moderator - 12/20/22 - now ---------------------------------------------------------
whoswish Posted March 26, 2021 Author Posted March 26, 2021 59 minutes ago, _Tarna_ said: yes I don't like the nested variables and not using uuid in the variables. But other than thats, its ok. what exactly are nested variables?
whoswish Posted March 26, 2021 Author Posted March 26, 2021 1 hour ago, _Tarna_ said: yes I don't like the nested variables and not using uuid in the variables. But other than thats, its ok. and im guessing me not using uuid im the variables is this set {unmuted.%arg-1%} to 0 , to fix that do i just do %arg-1's uuid% or something else
_Tarna_ Posted March 26, 2021 Posted March 26, 2021 23 minutes ago, SortaCold said: what exactly are nested variables? Nested variables is when you do {var.%player%}. List variables is when you do {var::%player%}. 22 minutes ago, SortaCold said: and im guessing me not using uuid im the variables is this set {unmuted.%arg-1%} to 0 , to fix that do i just do %arg-1's uuid% or something else And ya its better to use uuid since if a player changes their name, that var will still say the same. Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Community Support - 7/8/20 - 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - 12/20/22 Moderator - 12/20/22 - now ---------------------------------------------------------
whoswish Posted March 26, 2021 Author Posted March 26, 2021 9 minutes ago, _Tarna_ said: Nested variables is when you do {var.%player%}. List variables is when you do {var::%player%}. And ya its better to use uuid since if a player changes their name, that var will still say the same. thank you, when i update the skript you'll see i changed it
whoswish Posted March 26, 2021 Author Posted March 26, 2021 2 hours ago, _Tarna_ said: Nested variables is when you do {var.%player%}. List variables is when you do {var::%player%}. And ya its better to use uuid since if a player changes their name, that var will still say the same. Hey Tarna, I've restarted the whole skript basically. I hope this is starting to look better to you. (At the time I'm sending you this I'm currently working on /warn and the essential commands that'll come with it.) https://pastebin.com/4vwKxBDx Thanks!
_Tarna_ Posted March 27, 2021 Posted March 27, 2021 2 hours ago, SortaCold said: Hey Tarna, I've restarted the whole skript basically. I hope this is starting to look better to you. (At the time I'm sending you this I'm currently working on /warn and the essential commands that'll come with it.) https://pastebin.com/4vwKxBDx Thanks! Nice but you forgot to change some things. In the skript, you set the variable {muted::arg-1's uuid} but use the variable {muted::%player%}. You need to change that to {muted::%player's uuid%} in the on chat event. Another thing is why do you use an if statement to test for a player's permission instead of just using the permission option in the command. Like you can just do this. command /command: permission: command.use trigger: # stuff Discord - tarna256 In-game name - _Tarna_ Website - https://tarna.dev Paste Site: https://paste.tarna.dev --------------------------------------------------------- [VIP] - 7/27/2020 Community Support - 7/8/20 - 11/3/20 Helper - 11/3/20 - 2/21/21 Moderator - 2/21/21 - 5/17/21 - 5/17/21 - 12/20/22 Moderator - 12/20/22 - now ---------------------------------------------------------
whoswish Posted March 27, 2021 Author Posted March 27, 2021 4 hours ago, _Tarna_ said: Nice but you forgot to change some things. In the skript, you set the variable {muted::arg-1's uuid} but use the variable {muted::%player%}. You need to change that to {muted::%player's uuid%} in the on chat event. Another thing is why do you use an if statement to test for a player's permission instead of just using the permission option in the command. Like you can just do this. command /command: permission: command.use trigger: # stuff idek but im probs gonna give up on the skript, i hid the other post of the official one i made bcuz i didnt wanna deal with abunch of people telling me it wasnt a anticheat (even though it was, they are just used to another term of it) and yeah. and i like to use "if player has permission "insertpermissionhere": " because im just used to it. either way its 1 line of code i cant get rid of so
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