Jump to content

help me send a item of a thing in a variable list


Recommended Posts

ive tried everything. searching up on the internet. making a forum which i got a warning from because of wrong topic and then no replies after so please someone help me and if you cant just help me anyway

heres the skript that didnt work:

command /test:
    trigger:
        delete variable {testlist::*}
        add "dirt" to {testlist::*}
        add "stone" to {testlist::*}
        send "test: %first item of {testlist::*}%"

Edited by BrotherBethuel
oops
Link to comment
Share on other sites

2 hours ago, BrotherBethuel said:

ive tried everything. searching up on the internet. making a forum which i got a warning from because of wrong topic and then no replies after so please someone help me and if you cant just help me anyway

heres the skript that didnt work:

command /test:
    trigger:
        delete variable {testlist::*}
        add "dirt" to {testlist::*}
        add "stone" to {testlist::*}
        send "test: %first item of {testlist::*}%"

send "%{testlist::1}%" to player

you replace 1 with the position in the list

Edited by ApexSplat

Discord: Dead#6905

Love anime!


Anime Gifs

Link to comment
Share on other sites

9 minutes ago, BrotherBethuel said:

thats not what i meant? and i figured it out myself now its

send "test: %1st element of {testlist::*}%"

and + that would make many MANY variables which is anoying

Ye because i definitely didnt say first element of the list up there 💀

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...