dummy=REQUEST("Zone_relations", "", cat_1, code_1, name_1, num_1, cat_2, code_2, name_2, num_2)
If you place this in your door part (master script) you will find that the zone name ("name_1" for the first zone and "name_2" for the second) will be correct.
The problem is with the returned value for "cat_1" & "cat_2" - these will also be the zone name rather than the zone category.
There is no need to pre-define "name_1" as a parameter (text or otherwise).
It is simply ready for use as in .... text2 0,1, name_1 ... or as an output to a text file.
Of course this is all from within the door library part.
But you can also set this value as a parameter (PARAMETERS name_1 = name_1) in the master script so I guess you could use it in interactive schedules.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11