Like everyone else, your explanation just confused me. However, I have a couple of ideas for you to try. Assume %N is your new number to goto.

If you want to write the string literal to the text, use: write test.txt if ($ $+ address == $ $+ 2) goto %N
If you want just the $2 to be resolved and written but not the $address portion, use: write test.txt if ($ $+ address == $2) goto %N
If you want them both resolved, leave out the $+'s entirely: write test.txt if ($address == $2) goto %N


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C