Is something like this even possible?
menu List Create EUOListBox1 0 0 249 520
finditem * C_ , #backpackid
for #FINDINDEX 1 #FINDCNT
{
event property #findid
str pos #property $ 1
set %lenght #strres - 1
str left #property %lenght
set %name #strres
if #findstack = 1
{
if % , #findtype , #findcol , ammount = N/A || % , #findtype , #findcol , ammount = 0
{
set % , #findtype , #findcol , ammount #findstack
menu List Add EUOListBox1 % , #findtype , #findcol , ammount %name
}
else
set % , #findtype , #findcol , ammount % , #findtype , #findcol , ammount + #findstack
}
else
menu List Add EUOListBox1 %name
}
menu Window Size 246 561
menu Show
halt