ID:142882
 
Code:
mob/proc/Test()
for(var/i = 0 to 9)
winset(src, "DC.Topics", "current-cell=1,[i]")
src << output("test[i]", "DC.Topics")


Problem description:

I've tried a billion different way, I also tried looking it up on the forums for code snippets. My problem is that it doesn't list the text vertically, it'll list it like this: test0, test1, test2, ect...

I've tried current-cell=1,1 2,1 3,1 only displays test9
1) For current-cells, the value is listed as [column],[row]:
column = vertical
row = horizontal

So yeah, I think you flipped those two around.

2) I am pretty sure that the first grid entry starts at 1,1; not 1,0 as it currently is as stated in your snipped (make it [i+1],1)

3) In the skin reference (under help), you'll see there's a faster way to output data into grids now (under the heading reference "Grids and Info":
Reference << output(value,"[ID]:[column],[row]

mob/verb/Test()
for(var/i = 0 to 9)
src << output("test[i]", "DC.Topics:[i+1],1")


Also make sure that the list option is not checked for the grid element, that could be another reason why it is going horizontally rather than vertically.
In response to GhostAnime
Thanks for the help, I guess I didn't need to do winset, You got the [+1] in the wrong spot though. Although, Thanks to you I got it to work.

mob/proc/Test()
for(var/i = 0 to 9)
src << output("test[i]", "DC.Topics:1,[i+1]")