I think that your source code was intended for an earlier version of Inform, and doesn’t work with the current Inform 6.32. (The scott2zip converter is really old, dating back to Inform 5.)
Maybe using the “(string)” special rule in the print statement ? It’s page 31 of the Designer’s Manual 4.
The number you see might be the internal representation of the string (probably the short_name of the object), when you just want to print the actual string (and you do so by adding ‘(string)’ before the name of the string in the routine that displays it).