How to receive expected packet in Scoreboard

In reply to chr_sue:

Is any snippet code or reference available for implementing like this ? So that I’ll get an idea on that
TIA