Hello, I am trying to get into osiris coding, and I have no idea as of where to look for syntax information. I have run into a problem with an if statement due to this. I want to check whether or not a boss have below 50% hp when his turn starts.

Code
PROC
CharacterTurnStarted(CHARACTER_Ulfred_GateKeeper_Boss)
AND
CharacterGetHitpointsPercentage(CHARACTER_Ulfred_GateKeeper_Boss)<50
THEN
CharacterTeleportToTrigger(CHARACTER_Ulfred_GateKeeper_BossAdd000,TRIGGER_Ulfred_GateKeeper_BossAddPoint000,"Add was Spawned");
CharacterTeleportToTrigger(CHARACTER_Ulfred_GateKeeper_BossAdd001,TRIGGER_Ulfred_GateKeeper_BossAddPoint001,"Add was Spawned");
CharacterTeleportToTrigger(CHARACTER_Ulfred_GateKeeper_BossAdd002,TRIGGER_Ulfred_GateKeeper_BossAddPoint002,"Add was Spawned");
CharacterTeleportToTrigger(CHARACTER_Ulfred_GateKeeper_BossAdd003,TRIGGER_Ulfred_GateKeeper_BossAddPoint003,"Add was Spawned");
GoalCompleted;


I get the "Syntax error: "<" unexpected". Any suggestions?