Sorry I'm not quite sure how to articulate the question so perhaps this example is better.
I would like to target the following marked classes
<div class="wrapper">
<div class="message bot"></div> <-- HERE
<div class="message bot"></div>
<div class="message human"></div> <-- HERE
<div class="message bot"></div> <-- HERE
<div class="message bot"></div>
<div class="message human"></div><-- HERE
<div class="message human"></div>
<div class="message human"></div>
<div class="message human"></div>
<div class="message bot"></div> <-- HERE
<div class="message bot"></div>
<div class="message bot"></div>
</div>
Or if you could suggest a better question title that would be great also!
In response to the duplicate flag for this question I would say it is different due to there being a random amount of possible 'bot' divs or 'human' divs between each item.