Instead of
node1a = (dialog_file.pstring)[1]
try:
str_cpy(node1a,(dialog_file.pstring[1]);