Jump to content

Syph

Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Syph

  1. Hello, I'm Sypher. 

    I'm a skilled Skript developer looking to help. I am the owner of the Mineity Network and have a lot of experience with Skript coding. I am professional and am serious about my job. I'll only work on established servers with a decent player count. 

    If you're interested in recruiting me, add me on discord (Syph#7360). 

    EDIT: Closed for now because of personal projects. Will open soon.

  2. 3 minutes ago, BanditEagle said:

    @Syph arg-player does not exist. You will need to say arg-1. Also, the code you sent fits more with SkQuery than it does with TuSKe.

    Try something like this for using TuSKe:

    
    command /grant [<player>]:
     permission: command.grant
     permission message: No perms.
     trigger:
       if arg-1 is not set:
         send "&cYou need to select a player!"
       if arg-1 is set:
        create a gui with virtual chest inventory named "&6&lGrant Ranks" with 3 rows:
          format gui slot 10 with green wool named "&2&lVIP"
          format gui slot 11 with blue wool named "&b&lMVP"
        open last gui to player
    
    on inventory click:
      inventory name of current inventory of player is "&6&lGrant Ranks":
        cancel event
        clicked slot is 10:
          make console execute command "/lp user %player% parent add vip"
        clicked slot is 11:
          make console execute command "/lp user %player% parent add mvp"

     

    arg-player takes the "[<player>] bit in the command, might just be the addons I use. arg-1 doesnt work for me

    • Like 1
  3. This code might work.

    command /grant [<player>]:
     permission: command.grant
     permission message: Hey bozo! You can't use this!
     trigger:
       if arg-player is not set:
         send "&cYou need to select a player!"
       if arg-player is set:
        open virtual chest inventory with size 3 named "&6&lGrant Ranks" to player
        format gui slot 10 of player with green wool named "&2&lVIP" to run:
         execute console command "/lp user %arg-player% parent add vip"
            

    You do need to customize it but I'd say its simple enough to replicate. 

    • Like 1
×
×
  • Create New...