how to make output of a list go to seprate outputs

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

timbercat10

Member
Jul 10, 2023
45
0
6
command ListTestAdd <text> :
trigger:
add arg-1 to {list::*}


command ListTest :
trigger:
puts item from 1st item in {list::*} in to slot 1 of players invtory
wait 1 tick
puts item from 2st item in {list::*} in to slot 2 of players invtory
wait 1 tick
puts item from 3st item in {list::*} in to slot 3 of players invtory
**untill all items are good


i need help with the "from 3st item in {list::*}" everything else is good i also need help with "in to slot 3 of players invtory"
 
code_language.skript:
command /listtestadd <item>:
  trigger:
    add arg-1 to {list::*}


command /listtest:
  trigger:
    set slot 1 of player to (1st element out of {list::*})
    wait 1 tick
    set slot 1 of player to (2nd element out of {list::*})
    wait 1 tick
    set slot 1 of player to (3rd element out of {list::*})