AHelpingCandy Posted March 30, 2021 Posted March 30, 2021 (edited) old. Edited April 4, 2021 by Chloe30k old. 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 )
SuperOrca Posted March 30, 2021 Posted March 30, 2021 1) Please use code blocks 2) formatNumber was never defined (not everyone has one) 3) You don't need to loop to fill the slots 4) You should atleast add a comment that says insert your variables here. 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).
_Tarna_ Posted March 30, 2021 Posted March 30, 2021 There are something called default arguments which you can use instead of having that first if else statement. command /starts <offline player=%player%> trigger: set {_p} to arg-1 This makes it that if arg-1 is not set, it will automatically be set to the player running the command. 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 ---------------------------------------------------------
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