Ok, a better example of what I want to do:
[{"id":"a140900e.5f3c4","type":"inject","z":"8bb4de19.f72c88","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":2850,"y":2300,"wires":[["fd7e579.a379028"]]},{"id":"fd7e579.a379028","type":"random","z":"8bb4de19.f72c88","name":"","low":"1","high":"10","inte":"true","property":"payload","x":3000,"y":2300,"wires":[["9fb96f49.2f72","64e63da6.313d8c","d52ad08a.3da53"]]},{"id":"9fb96f49.2f72","type":"debug","z":"8bb4de19.f72c88","name":"","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":3010,"y":2330,"wires":[]},{"id":"64e63da6.313d8c","type":"function","z":"8bb4de19.f72c88","name":"","func":"if (msg.topic == \"\")\n{\n context.set(\"LAST\",msg.payload);\n //return;\n} else\n{\n msg.payload = msg.payload + \" \" + context.get(\"LAST\");\n return msg;\n}","outputs":1,"noerr":0,"initialize":"","finalize":"","x":3180,"y":2300,"wires":[["be93236a.377f3"]]},{"id":"d52ad08a.3da53","type":"debug","z":"8bb4de19.f72c88","name":"look at this","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":3160,"y":2240,"wires":[]},{"id":"af990b30.acd4c8","type":"inject","z":"8bb4de19.f72c88","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"capture","payload":"I want this","payloadType":"str","x":2880,"y":2390,"wires":[["64e63da6.313d8c"]]},{"id":"be93236a.377f3","type":"debug","z":"8bb4de19.f72c88","name":"CAUGHT","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":3350,"y":2300,"wires":[]}]
Press the top inject
node.
Things are good.
Keep pressing.
Say one of the messages cause what ever to happen, then a signal is sent and the bottom inject
button is pressed.
That then creates a message to send on the original message with the other message concatenated together.
Clearer?