Hi Mr. Gammon, you seem like such an intelligent person and I would be forever grateful for your help with my latest problem.
Trigger #1 - "Text_AAAAAA"
(Set variable X to "1")
(Send variable like, "say Hello 'x'")
Trigger #2 - "Text_BBBBBB"
(Set variable X to 2X [so multiply it by 2 and store it]
(Send new X like, "say Hello 'x'")
So basically... if trigger "AAAAAA" occurs, we reset variable X and send it in a command to the server.
If trigger "BBBBBB" occurs, we multiply X by 2 and then send that to the server.
Can you please help me? I feel like I don't even know where to start because I don't need variable X to persist through each session - it only has to stay alive until Trigger "AAAAA" is called again.
Trigger #1 - "Text_AAAAAA"
(Set variable X to "1")
(Send variable like, "say Hello 'x'")
Trigger #2 - "Text_BBBBBB"
(Set variable X to 2X [so multiply it by 2 and store it]
(Send new X like, "say Hello 'x'")
So basically... if trigger "AAAAAA" occurs, we reset variable X and send it in a command to the server.
If trigger "BBBBBB" occurs, we multiply X by 2 and then send that to the server.
Can you please help me? I feel like I don't even know where to start because I don't need variable X to persist through each session - it only has to stay alive until Trigger "AAAAA" is called again.