The function looks pretty weird, CharacterGetAttribute([in](Character)_Character,[in](STRING)_Attribute,[out](INTEGER)_Value)

Never seen those [in] and [out] things, also what's the integer supposed to be?

Another thing i don't get is how to set up the actual code, can i do something like :

variable = CharacterGetAttribute(CHARACTER_MalePlayer_001, "Intelligence", _valee)

IF
variable > 7
THEN
code

?