ID:140723
 
Code:
proc
verb_object_refresh()
var/len = usr.VerbObjectList.len
var/obj/O
var/row=1
var/rowcount=1
for(var/C in 1 to len)
if(C)
O = usr.VerbObjectList[C]
usr << output([O],"SkillGrid.grid1:[rowcount],[row]")
rowcount++
if(rowcount==3)
row++
rowcount=1


Problem description:
Okay, basically... I add new Verb Objects to the VerbObjectList, and once it adds 3, it does not show any more. (It doesn't goto the next row.). What am I doing wrong here?
Presumably, your grid isn't set to a proper size. You should use winset() at the start to do so:

winset(src, "SkillGrid.grid1", "size='3x[round(len/3)+1]'")


Also, in the for() loop, if(C) is not needed. I don't know where people are learning that.