Jump to content

thefridgeisopen

Member
  • Posts

    9
  • Joined

  • Last visited

About thefridgeisopen

  • Birthday March 19

Recent Profile Visitors

394 profile views

thefridgeisopen's Achievements

Lurker

Lurker (1/6)

0

Reputation

Single Status Update

See all updates by thefridgeisopen

  1. 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 ""

    Heres another script for the mh community!

×
×
  • Create New...