Jasaka wrote:
But Austin didn't said 'you must do it by script', this script what he posted is easier way to do from this { 1, 2, 3 } to this a3:i1:i2:i3.
true... you can type these strings manually into the config file too, but your syntax is wrong. It's: a3:i1i2i3
I have never tried if it works with capital letters though... if you want to know, why, just try it, sure simple enough to do. Anyway though, the syntax works as follows:
Arrays: a<number of array entries>:<entry1><entry2>...<entryx>
Integers: i<value>
Strings: s<length of string>:<stringtext>
so an array { 1, hello, {2,3}} stored on an item's cprop would require this line in the itemdesc.cfg
cprop mycpropname a3:i1s5:helloa2:i2i3
ps: I'm not 100% sure on strings and I got no idea how structs are stored... but above are plenty samples how you can figure it out.