SuperOrca Posted June 27, 2019 Share Posted June 27, 2019 command /playtime [<offline player>]: trigger: if arg-1 is set: send "&6&lPLAYTIME&7 %arg-1%'s playtime is %{playtime::%arg-1's uuid%}%." else: send "&6&lPLAYTIME&7 Your playtime is %{playtime::%player's uuid%}%." every 2 seconds: loop all players: add "2 seconds" parsed as a timespan to {playtime::%loop-player's uuid%} 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...
Bear Posted June 27, 2019 Share Posted June 27, 2019 Sounds like a cool script, might add it to my server. Link to comment Share on other sites More sharing options...
ecstacide Posted June 29, 2019 Share Posted June 29, 2019 timestamps would be more efficient Link to comment Share on other sites More sharing options...
MrScopes Posted June 29, 2019 Share Posted June 29, 2019 why use 2 seconds? also, you should do something like this for the command: command /playtime [<offlineplayer>]: trigger: set {_p} to arg ? player set {_u} to {_p}'s uuid send "&6&lPLAYTIME&7 %{_p}%'s playtime is %{playtime::%{_u}%} ? 0 seconds%." Discord: MrScopes#5548 Link to comment Share on other sites More sharing options...
SuperOrca Posted July 10, 2019 Author Share Posted July 10, 2019 On 6/28/2019 at 10:33 PM, ecstacide said: timestamps would be more efficient Yeah, but I was lazy... Excuses 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...
SuperOrca Posted July 10, 2019 Author Share Posted July 10, 2019 On 6/28/2019 at 11:53 PM, MrScopes said: why use 2 seconds? also, you should do something like this for the command: command /playtime [<offlineplayer>]: trigger: set {_p} to arg ? player set {_u} to {_p}'s uuid send "&6&lPLAYTIME&7 %{_p}%'s playtime is %{playtime::%{_u}%} ? 0 seconds%." You learn something new everyday.Excuses 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 Is there a way to make this able to do a command such as /addplaytime <player> <time> to make the selected player get more playtime? Or is that not possible Link to comment Share on other sites More sharing options...
UntitledGoose Posted November 11, 2020 Share Posted November 11, 2020 (edited) one year necro jesus christ@Untreated pls lock for necro Edited November 11, 2020 by TheGoose VIP since January 7th, 2020 Support since September 19th, 2020 Helper since November 3rd, 2020 Moderator since March 8th, 2021 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...
M4zE Posted October 23, 2022 Share Posted October 23, 2022 On 6/27/2019 at 9:46 PM, SuperOrca said: Link to comment Share on other sites More sharing options...
CallMeProMan Posted November 19, 2022 Share Posted November 19, 2022 bruh 3 year necro @BennyDoesStuff lock pls Goodgoldbox Owner GeniedGens Owner Developer Meme cure depression Link to comment Share on other sites More sharing options...
SkriptUser103 Posted November 26, 2022 Share Posted November 26, 2022 @BennyDoesStuffplease lock Link to comment Share on other sites More sharing options...
Recommended Posts