If a person wants to go out with a group, they should proactively ask others to go out with them. Likewise, rather than waiting for someone to greet them, a person should say hello first.
If a person begins to act how they want others to treat them, they may start to see people responding in the same way.