If you need to find something that does something specific look in the Max objects by function section of the help files. I find this to be the most useful way of finding stuff. Also if you are using an object but it doesn’t quite do what you want there are suggestions for alternatives in the object reference.
Either way hopefully one of these will be something like what you’re after
— Pasted Max Patch, click to expand. —
Copy all of the following text. Then, in Max, select New From Clipboard.