Twenjooooooooooo Posted June 14, 2019 Share Posted June 14, 2019 (edited) every second: loop all players: add 1 to {s::%loop-player's uuid%} if {s::%loop-player's uuid%} > 59: remove 60 from {s::%loop-player's uuid%} add 1 to {m::%loop-player's uuid%} if {m::%loop-player's uuid%} > 59: remove 60 from {m::%loop-player's uuid%} add 1 to {h::%loop-player's uuid%} if {h::%loop-player's uuid%} > 23: remove 24 from {h::%loop-player's uuid%} add 1 to {d::%loop-player's uuid%} command /playtime [<offlineplayer>]: trigger: arg isn't set: wait 1 tick send "" send "&f&l YOUR PLAYTIME (&7&l%player%&f)" send "" send "&f&l SECONDS:&7 %{s::%player's uuid%}%" send "&f&l MINUTES:&7 %{m::%player's uuid%}%" send "&f&l HOURS:&7 %{h::%player's uuid%}%" send "&f&l DAYS:&7 %{d::%player's uuid%}%" send "" else: wait 1 tick send "" send "&f&l PLAYTIME OF &7&l%arg%" send "" send "&f&l SECONDS:&7 %{s::%arg's uuid%}%" send "&f&l MINUTES:&7 %{m::%arg's uuid%}%" send "&f&l HOURS:&7 %{h::%arg's uuid%}%" send "&f&l DAYS:&7 %{d::%arg's uuid%}%" send "" Edited June 16, 2019 by Twenjii Link to comment Share on other sites More sharing options...
farwl Posted June 14, 2019 Share Posted June 14, 2019 26 minutes ago, Twenjii said: every second: loop all players: add 1 to {s::%loop-player's uuid%} if {s::%loop-player's uuid%} > 59: remove 60 from {s::%loop-player's uuid%} add 1 to {m::%loop-player's uuid%} if {m::%loop-player's uuid%} > 59: remove 60 from {m::%loop-player's uuid%} add 1 to {h::%loop-player's uuid%} if {h::%loop-player's uuid%} > 23: remove 24 from {h::%loop-player's uuid%} add 1 to {d::%loop-player's uuid%} command /playtime [<offlineplayer>]: trigger: arg isn't set: wait 1 tick send "" send "&f&l YOUR PLAYTIME (&7&l%player%&f)" send "" send "&f&l SECONDS:&7 %{s::%player's uuid%}%" send "&f&l MINUTES:&7 %{m::%player's uuid%}%" send "&f&l HOURS:&7 %{h::%player's uuid%}%" send "&f&l DAYS:&7 %{d::%player's uuid%}%" send "" else: wait 1 tick send "" send "&f&l PLAYTIME OF &7&l%arg%" send "" send "&f&l SECONDS:&7 %{s::%arg's uuid%}%" send "&f&l MINUTES:&7 %{m::%arg's uuid%}%" send "&f&l HOURS:&7 %{h::%arg's uuid%}%" send "&f&l DAYS:&7 %{d::%arg's uuid%}%" send "" At least put it in code blocks... Graphic Designer - Skript Developer - Professional Builder - Content Creator Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere Amethyst Studios Discord Link to comment Share on other sites More sharing options...
Twenjooooooooooo Posted June 14, 2019 Author Share Posted June 14, 2019 And how do you do that in the new forums? @Farwl Link to comment Share on other sites More sharing options...
farwl Posted June 15, 2019 Share Posted June 15, 2019 2 hours ago, Twenjii said: And how do you do that in the new forums? @Farwl Graphic Designer - Skript Developer - Professional Builder - Content Creator Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere Amethyst Studios Discord Link to comment Share on other sites More sharing options...
Twenjooooooooooo Posted June 16, 2019 Author Share Posted June 16, 2019 On 6/15/2019 at 10:24 AM, Farwl said: Still confused Link to comment Share on other sites More sharing options...
TacticalModz Posted June 16, 2019 Share Posted June 16, 2019 (edited) . Edited June 16, 2019 by TacticalModz Start your Minecraft server today for as low as £0.50/weekly for up to 4 GB of RAM! (£3.50 Monthly) and be equipped for all situations with our high-performance gear keeping your servers running 24/7 Why choose Us? • Guaranteed 99.9% Uptime • NVMe RAID Fast Storage • 24/7 Hosting • Instant Setup • 50% Discount. Use Code: 50OFF (Ends on November 11th) We want to ensure our customers are happy with the service they received and support. We aim to provide low-costs those who cant afford a minecraft server. No extra costs, no setup fees! One-time payment and you are good to go with our instant setup feature we introduced to ensure your server is ready to go! Planning to make a community or a project you want to work on? We got you covered! Our servers are optimized for performance and security, so you can have peace of mind and focus on your project. Our servers are also reliable and packed with features, so you can start playing right away. We guarantee 99% uptime and 24/7 customer support, so you can always ask for help if you need it. Links: https://forums.valknet.org https://billing.valknet.org Invite: https://discord.gg/FqSRt4ZCAC Link to comment Share on other sites More sharing options...
XXXCanadian Posted June 17, 2019 Share Posted June 17, 2019 That format is Ugly tbh you should lay it out so Where if someone has hours it will say hours Link to comment Share on other sites More sharing options...
XXXCanadian Posted June 17, 2019 Share Posted June 17, 2019 you also should use Uuid of player Link to comment Share on other sites More sharing options...
Youtubejr Posted June 17, 2019 Share Posted June 17, 2019 49 minutes ago, XXXCanadian said: you also should use Uuid of player Ye, change %player% with %uuid of player% Link to comment Share on other sites More sharing options...
XXXCanadian Posted June 17, 2019 Share Posted June 17, 2019 3 minutes ago, Youtubejr said: Ye, change %player% with %uuid of player% Where have you been Yt? Link to comment Share on other sites More sharing options...
XXXCanadian Posted June 17, 2019 Share Posted June 17, 2019 you should like totally log on minehut and check out my wip server Link to comment Share on other sites More sharing options...
XXXCanadian Posted June 17, 2019 Share Posted June 17, 2019 6 minutes ago, Youtubejr said: Ye, change %player% with %uuid of player% changing %player% to %uuid of player% would just broadcast the players uuid you keep %player% and change %player's uuid% to %uuid of player% Link to comment Share on other sites More sharing options...
Youtubejr Posted June 17, 2019 Share Posted June 17, 2019 2 hours ago, XXXCanadian said: changing %player% to %uuid of player% would just broadcast the players uuid you keep %player% and change %player's uuid% to %uuid of player% Told you I forgot a lot Link to comment Share on other sites More sharing options...
XXXCanadian Posted June 17, 2019 Share Posted June 17, 2019 20 minutes ago, Youtubejr said: Told you I forgot a lot lol you good Link to comment Share on other sites More sharing options...
Twenjooooooooooo Posted June 18, 2019 Author Share Posted June 18, 2019 16 hours ago, XXXCanadian said: you also should use Uuid of player That literally doesn't matter at all.. I'm also removing 1 word by using %player's uuid%.. Link to comment Share on other sites More sharing options...
Twenjooooooooooo Posted June 18, 2019 Author Share Posted June 18, 2019 16 hours ago, XXXCanadian said: changing %player% to %uuid of player% would just broadcast the players uuid you keep %player% and change %player's uuid% to %uuid of player% That's why you display it as %{yourvariable::%player's uuid%}% Link to comment Share on other sites More sharing options...
Twenjooooooooooo Posted June 18, 2019 Author Share Posted June 18, 2019 16 hours ago, XXXCanadian said: That format is Ugly tbh you should lay it out so Where if someone has hours it will say hours What/ Link to comment Share on other sites More sharing options...
MrScopes Posted June 18, 2019 Share Posted June 18, 2019 here's a non bad version of this every second: loop all players: add 1 second to {playtime::%loop-player's uuid%} function time(t: text) :: text: set {_n} to {_t} replace all " seconds" and " second" with "s" in {_n} replace all " minutes" and " minute" with "m" in {_n} replace all " hours" and " hour" with "h" in {_n} replace all " days" and " day" with "d" in {_n} replace all " and " with " " in {_n} return {_n} command /playtime [<offlineplayer>]: trigger: set {_p} to arg 1 ? player set {_u} to {_p}'s uuid if {playtime::%{_u}%} is not set: send "&cThat user is not registered." else: set {_time} to time("%{playtime::%{_u}%}%") send "" send " &3%{_p}'s playtime: &7%{_time}%" send "" 1 Discord: MrScopes#5548 Link to comment Share on other sites More sharing options...
Twenjooooooooooo Posted June 18, 2019 Author Share Posted June 18, 2019 2 hours ago, MrScopes said: here's a non bad version of this every second: loop all players: add 1 second to {playtime::%loop-player's uuid%} function time(t: text) :: text: set {_n} to {_t} replace all " seconds" and " second" with "s" in {_n} replace all " minutes" and " minute" with "m" in {_n} replace all " hours" and " hour" with "h" in {_n} replace all " days" and " day" with "d" in {_n} replace all " and " with " " in {_n} return {_n} command /playtime [<offlineplayer>]: trigger: set {_p} to arg 1 ? player set {_u} to {_p}'s uuid if {playtime::%{_u}%} is not set: send "&cThat user is not registered." else: set {_time} to time("%{playtime::%{_u}%}%") send "" send " &3%{_p}'s playtime: &7%{_time}%" send "" bruh Link to comment Share on other sites More sharing options...
SuperOrca Posted July 10, 2019 Share Posted July 10, 2019 @MrScopes is some kind of god at skript. 1 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...
Derrickpower2 Posted November 10, 2020 Share Posted November 10, 2020 On 6/18/2019 at 6:17 AM, MrScopes said: here's a non bad version of this every second: loop all players: add 1 second to {playtime::%loop-player's uuid%} function time(t: text) :: text: set {_n} to {_t} replace all " seconds" and " second" with "s" in {_n} replace all " minutes" and " minute" with "m" in {_n} replace all " hours" and " hour" with "h" in {_n} replace all " days" and " day" with "d" in {_n} replace all " and " with " " in {_n} return {_n} command /playtime [<offlineplayer>]: trigger: set {_p} to arg 1 ? player set {_u} to {_p}'s uuid if {playtime::%{_u}%} is not set: send "&cThat user is not registered." else: set {_time} to time("%{playtime::%{_u}%}%") send "" send " &3%{_p}'s playtime: &7%{_time}%" send "" I tried this skript and it didn't work. I did /playtime and it gave me 2 blank lines. Can you send me a working one please? Link to comment Share on other sites More sharing options...
Cosmoss Posted November 10, 2020 Share Posted November 10, 2020 (edited) @Derrickpower2, please don't post on over a month old posts.@Untreated lock Edited November 10, 2020 by Cosmoss heh ⁃ Owner of Shulked ⁃ ⁃ Skript Developer ⁃DEFAULT / 2018[VIP] / 2019 ⁃ DISCORD: Cosmos#2576 ⁃ ⁃ IGN: Stuudium (soon to change) ⁃- *former* ADMIN on Versa Realms - - MODERATOR on EddyEvents - Link to comment Share on other sites More sharing options...
emopediaMC Posted December 19, 2020 Share Posted December 19, 2020 can someone pls lock for necro Developer Joined Minecraft in 2010 on PC Joined Minehut in August 2016 1 year Skript experience 2 months Java experience 5 months Javascript experience Link to comment Share on other sites More sharing options...
Cosmoss Posted December 19, 2020 Share Posted December 19, 2020 18 hours ago, emopediaMC said: can someone pls lock for necro You're the one that just necro'd... ⁃ Owner of Shulked ⁃ ⁃ Skript Developer ⁃DEFAULT / 2018[VIP] / 2019 ⁃ DISCORD: Cosmos#2576 ⁃ ⁃ IGN: Stuudium (soon to change) ⁃- *former* ADMIN on Versa Realms - - MODERATOR on EddyEvents - Link to comment Share on other sites More sharing options...
Migins Posted February 21, 2021 Share Posted February 21, 2021 Locked - Necroposting Please avoid posting on threads that have been inactive for over a month. Also, next time I'd advise you use our in-built report system instead of bumping old threads and tagging moderators. ► Support July 29, 2020 → November 3, 2020 ► Helper November 3, 2020 → February 22, 2021 ► Moderator February 22, 2021 → May 17, 2021 ► I might not always respond to forum dms, however I am always contactable on discord (mig#0069) Link to comment Share on other sites More sharing options...
Recommended Posts