Hi i was trying to implement node red to give me random lottery results
can anyone think of a useful node that will give me the ability to make a list out of random numbers?
this is working for me but it is a little uncoded, and it gives me double numbers from time to time
maybe someone with some coding experience will find this fun
[{"id":"71c35e53.31e0f","type":"inject","z":"413444d7.b62abc","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":84.16669464111328,"y":224.000075340271,"wires":[["cadad58b.ee3a58"]]},{"id":"7b2b263.3e0d2d8","type":"delay","z":"413444d7.b62abc","name":"","pauseType":"delay","timeout":"6","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":568.1667022705078,"y":224.66674137115479,"wires":[["c125e4bf.cefb98"]]},{"id":"9844ab7.2748758","type":"delay","z":"413444d7.b62abc","name":"","pauseType":"delay","timeout":"7","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":566.1666946411133,"y":261.66676235198975,"wires":[["c125e4bf.cefb98"]]},{"id":"f191e55a.84dab8","type":"delay","z":"413444d7.b62abc","name":"","pauseType":"delay","timeout":"8","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":567.0000152587891,"y":299.0000696182251,"wires":[["c125e4bf.cefb98"]]},{"id":"382c9f8.2ab186","type":"delay","z":"413444d7.b62abc","name":"","pauseType":"delay","timeout":"9","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":569.0000057220459,"y":337.00010108947754,"wires":[["c125e4bf.cefb98"]]},{"id":"1f5c9e8.cb42b62","type":"delay","z":"413444d7.b62abc","name":"","pauseType":"delay","timeout":"10","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":567.9999923706055,"y":377.0000638961792,"wires":[["c125e4bf.cefb98"]]},{"id":"5d44f4bf.0aa62c","type":"delay","z":"413444d7.b62abc","name":"","pauseType":"delay","timeout":"11","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":568.9999923706055,"y":415.0001039505005,"wires":[["c125e4bf.cefb98"]]},{"id":"cadad58b.ee3a58","type":"function","z":"413444d7.b62abc","name":"Inject all","func":"\nreturn msg;","outputs":1,"noerr":0,"x":215.16671085357666,"y":224.66674137115479,"wires":[["16d4eae1.fd1ba5","f6aaa308.00f74","64dc1eac.7f9eb","b79297d0.c7ad48","539b5047.d35e4","44171f92.a5d77","d1f7de45.1267c","8d14581b.d01cb8"]]},{"id":"16d4eae1.fd1ba5","type":"random","z":"413444d7.b62abc","name":"","low":"1","high":"37","inte":"true","property":"payload","x":417.1667060852051,"y":224.66674041748047,"wires":[["7b2b263.3e0d2d8"]]},{"id":"539b5047.d35e4","type":"random","z":"413444d7.b62abc","name":"","low":"1","high":"7","inte":"true","property":"payload","x":421.00006103515625,"y":451.000075340271,"wires":[["4397eb39.dcb0f4"]]},{"id":"4397eb39.dcb0f4","type":"delay","z":"413444d7.b62abc","name":"","pauseType":"delay","timeout":"14","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":568.0000152587891,"y":451.00006580352783,"wires":[["c125e4bf.cefb98"]]},{"id":"f6aaa308.00f74","type":"random","z":"413444d7.b62abc","name":"","low":"1","high":"37","inte":"true","property":"payload","x":418.00001525878906,"y":262.0000696182251,"wires":[["9844ab7.2748758"]]},{"id":"64dc1eac.7f9eb","type":"random","z":"413444d7.b62abc","name":"","low":"1","high":"37","inte":"true","property":"payload","x":419.0000228881836,"y":299.00007724761963,"wires":[["f191e55a.84dab8"]]},{"id":"b79297d0.c7ad48","type":"random","z":"413444d7.b62abc","name":"","low":"1","high":"37","inte":"true","property":"payload","x":419.0000305175781,"y":337.00006008148193,"wires":[["382c9f8.2ab186"]]},{"id":"44171f92.a5d77","type":"random","z":"413444d7.b62abc","name":"","low":"1","high":"37","inte":"true","property":"payload","x":418.83333587646484,"y":377.3334074020386,"wires":[["1f5c9e8.cb42b62"]]},{"id":"d1f7de45.1267c","type":"random","z":"413444d7.b62abc","name":"","low":"1","high":"37","inte":"true","property":"payload","x":419.83333587646484,"y":415.3334016799927,"wires":[["5d44f4bf.0aa62c"]]},{"id":"c125e4bf.cefb98","type":"mqtt out","z":"413444d7.b62abc","name":"","topic":"/push","qos":"","retain":"","broker":"b00ee433.7e08a8","x":1166.0764465332031,"y":587.5313577651978,"wires":[]},{"id":"c4ef6c42.93d2e","type":"delay","z":"413444d7.b62abc","name":"","pauseType":"delay","timeout":"4","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":567.0173492431641,"y":187.01049137115479,"wires":[["c125e4bf.cefb98"]]},{"id":"8d14581b.d01cb8","type":"change","z":"413444d7.b62abc","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"Numbers Are","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":415.0694885253906,"y":188.59034824371338,"wires":[["c4ef6c42.93d2e"]]},{"id":"b00ee433.7e08a8","type":"mqtt-broker","z":"","name":"Node red","broker":"192.168.1.103","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]