should this line becomes "return getarg(rand(getargcount()));" ?
/cc: @nanakiwurtz