Formatting Inventory Slots

  • 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.
Nov 1, 2020
1
0
1
24
Hey guys. I'm new to skunity, and skript in general. im using SkQuery v4.1.4 and Skript 2.5, and was wondering how to detect an item in the inventory, like for example

format slot 12 of player with slot 56 of player, or something like that. I'm making it so that a gui will copy the player's hotbar into the gui. I've tested putting items in before, but i can't figure out how to get the variable for say, each slot in the player's hotbar.
 
Yes yes, i recommend just learning the Set Slot method. But okay,

Code:
format slot 12 of player with (slot 0 of player's inventory) to be unstealable

Idk with skript 2.5, but this works with 2.2 dev 36 (best 1.8 skript version)
 
Status
Not open for further replies.