Underscores are added in the file save function because you can't have any white space when you write out to the DOS prompt; causes issues. You can remove the white space when you load the files back. Just iterate through the list and run one of the "AddSpace" functions.
Also, you might think about putting a "pretty" version of information in the "item", and all the data in the "tag". So put the Name of the characters you see in the "item" portion, and put the #FINDID of the character in the "tag" that matches each "item".
That's what I do anyhow.
Here's a quick AddSpace function:
;-------------------------------------------------------------------------------
; %1 - string to mung
sub AddUnderscore
namespace push
namespace local AU
set !tempstring %1
AddUnderscore_loop1:
str pos !tempstring _
if #STRRES <> 0
{
set !val #STRRES - 1
str left !tempstring !val
set !left #STRRES
set !val !val + 1
str del !tempstring 1 !val
set !tempstring !left , #SPC , #STRRES
goto AddUnderscore_loop1
}
set #RESULT !tempstring
namespace pop
return #RESULT