I did try it, i opened with //var %a = $dialog(test,test) | echo -a %a

and it got an echo error,

AND THATS WHY I came here and ASKED if there was a way to do it, CAUSE I TRIED by what i understood from the help file, and it isnt returning anything, but in my opinio if the dialog halts the script pending input, then it should return a result when the dialog closes, but it wasnt, so i came here to ask if there was a way to do it that i might be missing or something!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!