How can i set variable to amount of list elements?
Example:
set {_le} to amount of elements in {%lower case arg-2%list::*}
Also:
How can i send every element of list separately?
if argument 1 is "lista":
if {klasylista::*} contains argument 2:
set {_le} to amount of elements in {%lower case arg-2%list::*}
send "&6&l========== &b&lKLASA &a&l%upper case arg-2% &6&l==========" to player
send " • %1st element of {%lower case arg-2%list::*}%" to player
send "&6&l=============================" to player
Example:
set {_le} to amount of elements in {%lower case arg-2%list::*}
Also:
How can i send every element of list separately?
if argument 1 is "lista":
if {klasylista::*} contains argument 2:
set {_le} to amount of elements in {%lower case arg-2%list::*}
send "&6&l========== &b&lKLASA &a&l%upper case arg-2% &6&l==========" to player
send " • %1st element of {%lower case arg-2%list::*}%" to player
send "&6&l=============================" to player
Last edited: