Placeholder from Offline Player

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

qKing12

Member
Aug 14, 2018
24
1
0
21
Hey!
I want to know if there is a way to get a placeholder from a offline player like "set {_s} to placeholder "%%placeholder%%" from offline player". But i don't want to set a variable to the placeholder when player join or quits, i want to get it temporally. Thanks.
 
code_language.skript:
set {_p} to xxx parsed as offline player
set {_ph} to {_p}'s placeholder yyy
This?
 
What are you trying to parse - a UUID or a player's name? AFAIK only UUIDs can be parsed as offline players reliably
 
code_language.skript:
discord command info [<offline player>]:
    prefixes: -
    trigger:
        if arg 1 is set:
            if arg 1 is offline:
                set {_last} to placeholder "%%ontime_last_login%%" from arg 1

I don't know how to make it work or with UUID
 
Status
Not open for further replies.