Item Exchanger Skript

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

JacobJake7

New Member
Jan 26, 2018
9
0
1
21
I have an item exchange skript where you trade lower tier protection stones for higher tier ones through the GUI

Issue: it only detects one protection stone in my inventory, when im actually holding 2 of them. If I move them to another slot, the trade then works and it counts as 2.

loop-slots isn't a thing? How can I search for the player's entire stack and not just the first block?

Skript: https://pastebin.com/raw/spJt7LFx
 
I have an item exchange skript where you trade lower tier protection stones for higher tier ones through the GUI

Issue: it only detects one protection stone in my inventory, when im actually holding 2 of them. If I move them to another slot, the trade then works and it counts as 2.

loop-slots isn't a thing? How can I search for the player's entire stack and not just the first block?

Skript: https://pastebin.com/raw/spJt7LFx
first off, you would be wayyy better off using functions rather than commands, here's a tutorial on functions.

secondly, after getting the loop item, check the amount of loop item, that'll do the job
 
Status
Not open for further replies.