Need help creating advanced GUI

  • 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 community!

    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.

CosmicCakeMC

New Member
Apr 30, 2017
6
0
0
So im currently attempting to push out an update for my Punishment GUI. The update is a built in reports gui, I want players to be able to do "/report <player> <reason>" and then have the report pop up in a GUI which staff can see. The problem is that I dont know how to have the reports listed in the GUI, heres an example of what im looking to do:

CB3BYxr.png

The reported players heads appear in the blank slots in the GUI, and the staff can cycle between pages once the previous one fills up.

Does anyone know how I could achieve this? Thanks!
 
on the command, you can add the Player to {Reports::*}

code_language.skript:
command /reports:
    trigger:
        open chest with 5 rows named "REPORTS" to player
        wait a tick
        # format the  inv
        set {_slot} to 9
        loop {reports::*}:
            add 1 to {_slot}
            set {_player} to "%loop-value%" parsed as player
            set slot {_slot} of player's current inventory to {_player}'s skull named "&3%loop-value%" with lore "put variables in there"


If this doesn't works, please contact me!
 
Status
Not open for further replies.