*temp n 0
*label loop
${"*create"} inv_${n}_name ""
*line_break
${"*create"} inv_${n}_desc ""
*line_break
*if n > 24
*finish
*goto loop
Then copy and paste.
(IDK, I use sublime, so I just type out the numbers real quick, then use multi line edit to insert all the surrounding information.)