hi i'm looking to create and run a program that will automatically close the iris when a connection comes into the gate (figured that out)
then open it with a message (got that too). the part hat is confuseing me however is how do I filter it so that the program is only looking at what was typed to be sent. e.g. if the code was 12345 how do i get it to read that instead of reading sgMessageReceived "souceaddress" 12345?
Code so far:
component = require("component")
event = require("event")
sg = component.proxy("...") --- deliberately put the three dots here as it changes
event.p