command /example_tablist:
trigger:
set amount of colums in player's array tablist to 4
set amount of rows in player's tablist to 20 #This creates a 4 x 20 grid of tabs in the player's tablist
set display name of tab 1, 1 for player to "Hello!" #This sets the first tab as "Hello!"
set icon of tab 4, 20 for player to alex #This sets the icon of the last tab as the alex skin
set display name of tab 4, 20 for player to "ALEX" #This sets the last tab as "ALEX!"
loop 20 times:
set display name of tab 2, loop-number for player to "Column 2, Row %loop-number%" #This sets all of the tabs in the second column to display their column and row
set icon of tab 2, loop-number for player to steve #This sets all of the tabs in the second column to have a steve skin as their icon