Quote: "can i do something to make all that one line. like use commas in English instead of repeating the sentience"
You found the one annoyance with working with UDT's... not every situation is better with UDT's. But your over complicating it. You don't need to load a string into a temp string then add it to the array. When you load just load directly into the array. And when you use UDT's you don't use the $ symbol because you define it as a string.
read string 1,entityprofile(entid).aiinit
read string 1,entityprofile(entid).aimain
read string 1,entityprofile(entid).aidestroy
read string 1,entityprofile(entid).aishoot
read string 1,entityprofile(entid).soundset
read string 1,entityprofile(entid).soundset1
read string 1,entityprofile(entid).usekey
read string 1,entityprofile(entid).ifused
read string 1,entityprofile(entid).ifusednear
read string 1,entityprofile(entid).model
read string 1,entityprofile(entid).texpath
read string 1,entityprofile(entid).texd
read string 1,entityprofile(entid).texaltd
read string 1,entityprofile(entid).effect
read string 1,entityprofile(entid).isweapon
read string 1,entityprofile(entid).hasweapon