Replace this line:
Code:
not reaper.TrackFX_GetEnabled(master, fxIndex))
with
(or true to enable)
I'll update the release script to provide additional on/off actions out of the box later this week... EDIT: done, uploaded as "Monitoring FX bypass bundle (bypass, unbypass or toggle)".