Erik M. said: Ok, I have been looking at this until my eyes are near revolting out of my head, and I need someone to point out the silly, ridiculous mistake I am making. I have this code: --:UseDefend|Character ID, Defend Value, Damage Done --&TargetID|[%1%] --=DefendValue|[%2%] --=DamageDone|[%3%] --?[%3%] -ge [%2%]|>DefendUsed|>DefendLeft --<| --:DefendUsed| --@setattr|_silent _charid [&TargetID] _defend_value|0 --<| --:DefendLeft| --@modbattr|_silent _charid [&TargetID] _defend_value|-[$DamageDone] --<| When I debug, something weird is happening to the [&TargetID] variable. "Line Counter: 30, Tag:>UseDefend, Content:-MWHG0P_IZgppzuZccl0;1;6" "Line Counter: 179, Tag:&TargetID, Content:-MWHG0P_IZgppzuZccl0" "Line Counter: 180, Tag:=DefendValue, Content:1" "Line Counter: 181, Tag:=DamageDone, Content:6" "Line Counter: 182, Tag:?6 -ge 1, Content:>DefendUsed|>DefendLeft" "Condition 6 -ge 1 evaluation result: true" "Line Counter: 185, Tag:@setattr, Content:_silent _charid [<span style=\"color: rgb( 64 , 64 , 64 )\">&</span>TargetID<span style=\"color: rgb( 64 , 64 , 64 )\">]</span> _defend_value|0" "Line Counter: 186, Tag:<, Content:" "Line Counter: 183, Tag:<, Content:" "Line Counter: 31, Tag:X, Content:" The target ID in the first bolded section seems to be passed just fine into the gosub, but then when further it tries to use it in the second bolded section, it seems to have some weird HTML in it? Shouldn't it be just putting -MWHG0P_IZgppzuZccl0 in place of [&TargetID]? It is because the target ID contains semicolons, which is the separator for parameters when calling subroutines. I apparently overlooked that a semicolon was a valid character to be contained in an ID, so I'll need to consider how I can deal with that. The frustrating part is that you probably will only see this being a problem on that particular token/character because the semicolon shouldn't show up frequently. In the mean time, you can circumvent the problem by setting the &targetID variable before calling the subroutine, as it will still be valid.