Comment from this topic: https://forum.audacityteam.org/t/adding-random-silence-to-multiple-mp3-files/29895/8
It doesn’t exactly have “no effect” (though it does not do what you want). It produces a silent error.
Debugging a plug-in that acts directly with no user interface can be tricky, especially if there is no error message (as in this case).
A little “trick” that can help, is to force the plug-in to have a user interface, then there will be a “Debug” button (as in all Nyquist plug-in interfaces). The Debug button allows you to see any error messages that are generated by the Nyquist code.
To force the plug-in to create an interface, all that you need to do is to add a “control” in the header section. The control does not need to “do” anything, but if you include one then the effect will open with an interface.
The “controls” are described in the documentation as “widgets”. http://wiki.audacityteam.org/wiki/Nyquist_Plug-ins_Reference#Nyquist_Plug-in_Widgets
Here is an example of a slider widget added below the other plug-in header information:
;nyquist plug-in
;version 3
;type process
;name "Append Random Silence"
;info "by goldfinger35 nReleased under GPL v2.n"
;; Based on a code snippet by Steve.
;; Released under terms of the GNU General Public License version 2:
;; http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
;control dummy "Dummy Slider" real "blah" 50 0 100
and this is what it looks like:

Now if you apply the effect using the “Debug” button, you should see a rather cryptic message that starts off with:
MULTISEQ's 2nd behavior: (S-REST SILENCE-DURATION)
error: arguments not compatible
Not very helpful for someone working on their first ever plug-in, but at least it gives a clue that the problem is a compatibility issue involving the “S-REST” function (and something to do with “MULTISEQ”
)
The problem is that the SEQ function does not work with stereo sounds.
In our code, the following line tries to join “S” and our generated silence “(s-rest silence-duration)” in sequence,
(seq s (s-rest silence-duration))
but “S” (the sound that is passed from Audacity to Nyquist) is not a “normal” sound - it is a stereo sound. Stereo sounds are handled as an “array” which contains two elements - the first element is the sound of the left channel and the second element is the sound of the right channel.
There is a section in the “Nyquist Plug-in Reference” that deals with stereo sounds: http://wiki.audacityteam.org/wiki/Nyquist_Plug-ins_Reference#Stereo_Tracks
I’m sure that you want to get on and use this as soon as possible, so here are two solutions the problem. The first is probably more easily understandable, but the second is a more flexible approach:
(setq silence-duration (+ 10 (random 41)))
;; generate silence
(setq my-silence
(abs-env
(s-rest silence-duration)))
(if (arrayp s)
(vector (seq (aref s 0) my-silence)
(seq (aref s 1) my-silence))
(seq s my-silence))
(setq silence-duration (+ 10 (random 41)))
;; Sequence function
(defun sseq (sig1 sig2)
(seq sig1 sig2))
(abs-env
(let ((my-silence (s-rest silence-duration)))
(multichan-expand #'sseq s my-silence)))