How to detect if you hold an item in the right hand and one in the off hand

Could somebody help out with this? I've never tried this, but it's for a project.

Continue to help post