The title of the post is pretty much explains my problem.
Let's say I type my score, and should be a something like "you have a minshield in place". But when the mindshield wears off, i have no notification to warn me, i can see that only if i type score. So how can i do something - i have no ideea what - to read my score and when that line is missing, to send the command mindshield?
An alias for when you type score, turns a variable off (one per spell, affliction, whatever), basically sets it as 0, or "off" or whatever. Then you have a trigger for each thing, which will set the variable back to an "on" state.
the initial alias also turns on a final trigger (prompt? or something "non score") once that final trigger triggers, it checks to see if the variable is on, or off.
Basically, you assume its not there, if it is there, you change that assumption, then afterwards you check everything for its current status.
I suppose you could also do something with multiline triggers, but that has the potential to get complicated quickly if youre looking for more than one thing. Then again, this way isnt exactly simple either.
Concentration: 21
You have a mindshield in place.
You are hardening your body.
You are boosting your mental powers.
You are jamming mental frequencies.
Professional titles:
Assassin Wrestler Priest Fanatic Hunter Infiltrator Burglar
Psionist Ninja Sailor Ranger Samurai Operator Marksman
Shaman Technician Doctor Chemist Fencer Biomedic
You're very happy lately.
You are heavily armored. You will stay fairly cool on a hot day.
You are standing.
You have a glowing aura.
You are sensitive to the presence of cloaked things.
You can see in the dark.
Your kinetic powers are enhanced.
You are boosting your mental powers.
Professional titles:
Assassin Wrestler Priest Fanatic Hunter Infiltrator Burglar
Psionist Ninja Sailor Ranger Samurai Operator Marksman
Shaman Technician Doctor Chemist Fencer Biomedic
You're very happy lately.
You feel pretty buff in that armor. You will stay fairly cool on a hot day.
You are standing.
You are sensitive to the presence of cloaked things.
You can see in the dark.
OK, I would pick two lines that definitely *will* be there and trigger on them. eg.
Clear variable
match: Points: Curr Max Pedometer: *
send: no
send to: variable
variable name: mindshield_found
So, assuming you always get the line "Curr Max Pedometer: (something)" that will set the "mindshield_found" variable to "no".
Detect mindshield
match: You have a mindshield in place.
send: yes
send to: variable
variable name: mindshield_found
This will set the variable to "yes" if it finds the mindshield.
Later on ...
match: Professional titles:
send:
if world.GetVariable ("mindshield_found") = "no" then
world.Send "mindshield"
world.SetVariable "mindshield_found", "yes"
end if
send to: script
This small piece of script tests the mindshield variable, and if still "no" sends the mindshield command. It then sets the variable to "yes" to indicate you now have a mindshield.