#how do i get the variables name

1 messages · Page 1 of 1 (latest)

half perch
#

when i send to player it should say "{count}" instead of 2
(this is an example)

half perch
#

but its a loop-value

mortal folio
half perch
#

command show-var <string>:
    permission: op
    trigger:
        if arg-1 is "customitems::*":
            send message "&6&lListing customitems::*"
            send message "&6&l------------------------------"
            loop {customitems::*}:
                send message "%arg-1 parsed as string%" to player
                send message "&0&l------------------------------"
                send message loop-value to player
                send message "&6&l------------------------------"
        else:
            send message {%arg-1%} to player```
#

i need for the send message "%arg-1 parsed as string%" to player to output customitems::hamburger (exmaple)