/proc/list(...)
Usage:
list(value1, value2, value3, ...)
list(key1 = value1, key2 = value2, key3 = value3, ...)
Returns:
The values provided, inserted into a new /list.

Creates a new /list with the values provided as arguments. If the values provided have both keys and values, an associated list will be created.

for(var/element in list(1, 2, 3))
    world.log << element // 1, 2, 3

var/assoc_list = list("foo" = 1, "bar" = 2, "car" = 3)
for(var/key in assoc_list)
    world.log << key // foo, bar, car
    world.log << assoc_list[key] // 1, 2, 3