My prompt looks like this (the whole line):
3670h, 2460m, 2820e, 10p, 15882en, 10600w elrx-
But I'm most concerned with the final part of it that says
elrx-
Now this part shows me various balances and stats. For example e tells me about me equilibrium, l tells me if my left arm is on balance and r tells me if my right arm is on balance.
Also, that last part can have more things at the end of it, depending on things I do, like eating a "kafe bean" might turn this into
elrxk-
Now to the question. I want to keep track of when the e,l,r and x parts are gone. Any of them can be gone individually at any time. When it does I want to set a variable to 0. And then I want to set it to 1 when it comes back.
[to illustrate what I mean, let's say I equilibrium is gone, it would be lrx- until it comes back and then it is elrx again.]
How would I go about doing this?
3670h, 2460m, 2820e, 10p, 15882en, 10600w elrx-
But I'm most concerned with the final part of it that says
elrx-
Now this part shows me various balances and stats. For example e tells me about me equilibrium, l tells me if my left arm is on balance and r tells me if my right arm is on balance.
Also, that last part can have more things at the end of it, depending on things I do, like eating a "kafe bean" might turn this into
elrxk-
Now to the question. I want to keep track of when the e,l,r and x parts are gone. Any of them can be gone individually at any time. When it does I want to set a variable to 0. And then I want to set it to 1 when it comes back.
[to illustrate what I mean, let's say I equilibrium is gone, it would be lrx- until it comes back and then it is elrx again.]
How would I go about doing this?