mounted

Returns true if the player is in combat, otherwise false.

mounted() : boolean

Example

Mount if I am currently not moving and not mounted.

if not mounted() and not moving() then
return cast('Blue Wind Rider')
end

Note

This uses IsMounted(), returning boolean.