solo

Returns if the player is not in a party or raid group.

solo() : boolean

Example

if solo() then
-- DO solo things like taunt with your pet!
end