parses the level of an NPC / Player from the uptext.
SCAR Code:Function GetUpLevel: Integer;
Begin
Result := StrToIntDef(Between('-', ')', GetUpText), 0);
End;
Usages: if you know some creature is specific level, but there are many of the same kind, lets say there were 5 same looking knights, but one of them is the head knight, and they had the same uptext except for the level, you could use this to find the head knight.
How to: Move mouse on the object and call this.
SCAR Code:Function GetUpLevel: Integer;
Begin
Result := StrToIntDef(Between('-', ')', GetUpText), 0);
End;
