Smiley_Guy_ Posted May 1, 2021 Share Posted May 1, 2021 Quote every 1 seconds: loop all players: if loop-player is online: add 1 to {playtime::%loop-player's uuid%} command /playtime [<offline player>]: trigger: if arg-1 is set: if {playtime::%arg-1's uuid%} >= 60: if {playtime::%arg-1's uuid%} <= 3600: set {_mins} to {playtime::%arg-1's uuid%} / 60 send "&e%arg-1%&e's playtime is: %{_mins}%&e minutes" to player else: if {playtime::%arg-1's uuid%} <= 86400: set {_hours} to {playtime::%arg-1's uuid%} / 3600 send "&e%arg-1%&e's playtime is: %{_hours}%&e hours" to player else: set {_days} to {playtime::%arg-1's uuid%} / 86400 send "&e%arg-1%&e's playtime is: %{_days}%&e days" to player else: if {playtime::%player's uuid%} >= 60: if {playtime::%player's uuid%} <= 3600: set {_mins} to {playtime::%player's uuid%} / 60 send "&eYour playtime is: %{_mins}%&e minutes" to player else: if {playtime::%player's uuid%} <= 86400: set {_hours} to {playtime::%player's uuid%} / 3600 send "&eYour playtime is: %{_hours}%&e hours" to player else: set {_days} to {playtime::%player's uuid%} / 86400 send "&eYour playtime is: %{_days}%&e days" to player Link to comment Share on other sites More sharing options...
notedwtf Posted May 2, 2021 Share Posted May 2, 2021 (edited) 11 hours ago, Smiley_Guy_ said: lol basically everything in there is useless... this could probably be shortened but its alot better then what u have there https://pastebin.com/hgHPdn7g but yes what u also made shows alot more customizability then mine, Edited May 2, 2021 by SortaCold Link to comment Share on other sites More sharing options...
SuperOrca Posted May 2, 2021 Share Posted May 2, 2021 (edited) Since when has a playtime skript become advanced? Also this skript is highly inefficient. Edited May 2, 2021 by SuperOrca 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...
Bonnie20402 Posted May 2, 2021 Share Posted May 2, 2021 (edited) 2 hours ago, SuperOrca said: Since when has a playtime skript become advanced? Also this skript is highly inefficient. no you can totally see this is the must advanced, optimized and efficient playtime skript in earth. People often forget what while means and love looping all players in every second Lovely Edited May 2, 2021 by Bonnie20402 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