Midi maestro command enquiry

Can anyone help with command set up to toggle my amp fx loop on/ off

Does the secondary command need to be 0 - 127

Please let us know the exact amp you’re using—once we have that info, we can check the amp’s documentation, identify the correct MIDI command needed, and guide you from there.