he

he <creature>

The subject pronoun for a creature — he, she, or it.

Use it to write grammatically correct sentences about a creature without hard-coding a gender. It pairs with him (object pronoun) and his (possessive pronoun).

Arguments

Returns

A string — the subject pronoun (he, she, or it), matching the creature's gender.

Examples

after command (wave) {
  do "say [name $actor] waves. [he $actor] looks friendly."
}

When the actor is the mob Puff (gender female), [he $actor] evaluates to she, so the mob says "Puff waves. she looks friendly." Capitalize the start of a sentence yourself if you need it.

See also