Solved Comparing the Length of two Arrays

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

Hexivoid

Member
Oct 22, 2017
35
7
8
No Skript/Author information applicable

Just as the title states, I'd like to see which of two arrays has more indexes. How exactly would I do this? I searched the documentation but found nothing. Thanks!
 
code_language.skript:
if size of {list1::*} is greater than size of {list2::*}:
    broadcast "list 1 is bigger"
else:
    broadcast "list 2 is bigger"
 
Status
Not open for further replies.