Having some very odd results with some journal scanning, maybe someone can see something I don't.
Consider the following:
set %jindexvalue #jindex
do stuff here that puts entries in the journal
if #jindex >= %JindexValue
{
for %i %jindexvalue #jindex
{
scanjournal %i
if :_The_Lock_Quickly_Yields in #journal || if This_does_not_appear_to_be_locked in #journal
set %unlocked #TRUE
}
}
So, when this runs the value of #journal is You_are_unable_to_pick_the_lock BUT for some reason, the "if" statement is coming up as true thus setting %unlocked to #TRUE even though neither of those strings are in #journal. I have even done this in Luna hitting F7 so the value of #jindex had increased by 10 or 11 and this thing runs fine through every frigging line until it hits You_are_unable_to_pick_the_lock.
I'm going nuts here! lol.
X