Ok, confirmed it. The problem I'm having is a bug in the script engine that SCAR uses. Old one too, I found a bug report about it, including a fix, from 2006.
To test I merged the changes from the fix into the current script engine codebase, then compiled my script with the new preprocessor. Works just like it's supposed to. I posted a bug report on Freddy1990's site (formatting on the code's muffed up though, no way to attach a file in the bug tracker :/ ), so he can fix SCAR if he wants.
Kind of a bummer, I was going to submit that script with my member app, now I have to do something else cuz I uncovered a bug
Grippy has approximately 30,000 hours of Delphi coding experience. srsly.