Solved essentials /home remake

  • 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.

cheatchki

Supporter ++
Jun 26, 2017
49
1
8
24
So I am attempting to make an essentials /home remake and you know the setting homes and all that easy peasy, but what i would like to do is have the feature they have where its like

/home [<player>:][<home>]

so if a player were to do
, it would list off their homes, thats easy, if they were to do
/home test
, it would teleport them to the home labeled test,
now for the part i don't really know how to do,

when a staff member does
/home cheatchki:
itll list all the homes under cheatchki, and when a staff does
/home cheatchki:test
, itll teleport the staff member to cheatchki's home "test" i have tried using the above command but arg's are not really working for it, so anyone have any ideas?
 
Just remove The <Player> and Just Check if ":" Set. Else Teleport, if set, Thema Check if Player has permission if so, Loop all his aviable Home. Via "on Tab complete"

I cant help contuie cuz im on Phone with this dumb autokorrktur for German
 
Status
Not open for further replies.