If possible, I would like to keep my project secret. The following is in a function, brackets line up perfectly, and every variable is correctly defined. The only problem is that I am getting a weird syntax on the equals sign. I copied a line below and above it, so you can see what is surrounding that line of code.
%heroname = getword(%fo.line1,1);
$HeroAttack.Hero_[%heroname]_Occupied ##=## false;
$HeroAttack.Hero_[%heroname]_Job = getword(%fo.line2,1);