ID:178731
 
Can I put a list into a for-loop to have it loop through everything in the list? I tried it like this:for(var/list/L)
Of course you can loop through a list, that's the main function of for()

mob
var
list/somelist
New()
somelist = list("One","Two","Three")

mob/verb
check_list()
for(var/L in usr.somelist)
usr << L