For your case, is there a reason to make the filenames user-configurable?
OCDdata_shared.txt) for all my multis.
setvar(), then use the player's name if
getvar()returns an empty string. Unfortunately, my hands are full, so I can't test the idea right now.
vars, could you provide an alternative way to programmatically modify a variable? I could call
cli_execute("zlib somevar = newvalue")but it's rather clunky and slow.
I have recently acquired an effect (intrinsic): Dad, though, so my coding time is quite limited at the moment.
equals(str1, str2)? It's supposed to case-sensitively compare two strings, but is now redundant because the
==operator became case-sensitive in KoLmafia r16180. This was 6 years ago, and I doubt anyone is using
equals()in ZLib itself, and (2) prints a once-per-session warning if
I'm seeing the once per session warning, when going into combat. Do I need to set up a debug log before entering combat, or would this be something caused by Smart Stasis and/or WHAM?
Went ahead and made a debug log, but it's too big to upload. Did another session and only fought once, finally got a debug log small enough to upload.
if (count(m.random_modifiers) == 0 && !equals(to_string(m), get_property("lastEncounter")) &&