HandleMyButton(Agent: agent): get string of the button pressed to get to this function like #Agent.buttonStringOrOtherwayToGetInfoAboutWhopressedme
if(button1234):
Print(“Foo”)
if(button4567):
Print(“Bar”)
I was looking for a solution to this issue today also and came across this post. I was sad to see it didn’t have an answer, however I was just watching some YouTube videos and came across the perfect solution.
There is a wrapper code for the Subscribe function that allows you to pass variables.