Syntax:
[ActorID.]GetFactionRank FactionID
Example:
GetFactionRank FightersGuild
Returns the actor's rank in the faction. If the actor isn't in the faction, returns -1.
GetFactionRank/Reference