Help me please

ok i need help with this one…URGENT
so could someone please reply this ASAP,

is there a code where when u get to this frame, it randomly chooses which code to use?

like
(code on frame)
gotoAndPlay(1);
//the random code here
gotoAndPlay(2);

, it would be like it wil lrandomly choose which one to do, the gotoAndPlay(1); or the gotoAndPlay(3);

if there is not, can someone tell me when u get on this frame it randomly chooses a frame that i specified?

please explain with proper instructions.
Thanks

,Lui