MIDI Controller
Hi
I'm starting with Max and I need to connect controller with knobs for VST plugins.
In Ableton Live I click MIDI Map and everything is ready for MIDI Learn.
Max is ready only for his own sliders but not for external plugins.
MAX:

ABLETON:

How to do this to work?
There is no direct mapping. The [vst~] object is a wrapper for other software (the loaded plugin). As with all wrappers, you have to interface it with objects under control of Max. To change a plugin parameter, you feed [vst~] with a number pair (list) consisting of the parameter number and a value between 0. and 1. To find the parameter numbers of your interest, you move plugin UI elements and monitor the parameter output of the [vst~] object.
To learn about functions and usage of Max objects, it is highly recommended to look at the help and reference pages provided for each single object.
I don't know what you want to do with Max, but not all plugins behave well in their [vst~] wrapper and the more vst~ objects you have, the more problematic you Max patch may become. Max is neither a music program nor a good plugin host, it is a programming environment.
But is there possible to send numbers from 0-127 or just 0. and 1. ????

In your example you send the parameter number 3 with an integer value 1
This may work to set the parameter to it's maximum, but you should use floating point values with a decimal point, for example [3 1.]You monitor the vst~ output with an integer number box. This does not work, because the output is a list. Use a message box or (often better) the [print] object.
For vst~ parameters, 0. is the minimum and 1. is the maximum. To control it by 0-127, you have to scale/convert the integer value to match the required floating point range.
You have several possibilities, here is one example with message boxes for monitoring and some comments:

Thank You It's working!!!!
if I have 30 parameters. Do I must make 30 times the same ?
30 sliders, 30 zmaps and [1 $1, 2 $1, 3 $1, ect]?

Do you really want parameter numbers 1-30
or 30 parameters with different numbers?
I have 30 knobs and I need send 30 MIDI CC
Yes, but do you need the parameter numbers in a continuous row
like 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ... and so on
or do you need different numbers
like 1, 2, 14, 15, 22, 34, 35, 40, 45 or something?
Yes, I need all parameters from 1-31 without gaps
One Example:

[split 1-31] forces you to use CC numbers 1-31 because other numbers are ignored. If you don't want that, use [+] or [-] before [split] to match your incoming CC numbers to vst~ parameter numbers.
The example above has no controls other than the port selector (which you can remove if you set the port in the [midiin] object). If you want sliders to view and/or control the values, just ask. There are some methods to add a bunch of them in an economical way.
Great! Thank You.
and one more. Now we have CC1 -> parameter 1, CC2-> p2 etc.
how to make this for example CC14 -> p1, CC15-> p2 etc. ?
a) That's just a negative offset. You need to bring 14 down to 1.
Insert an object [- 13] before the split object.
or
b) Remove [split] and use [coll] or [table] instead. Then you can set any mapping you like.
for 30 different things you usually need to have 30 times the same code.
unless you use the CC number of the input to directly control/select the parameter number.

i am using [zl rev] here to operate on the list while reversed. this way you can simply use [pack] in it simplest application.
the mapping can be done with [coll] among others.

@peterostry Thanks but I don't know how to add this

if I made this nothing changed.
@romanthilenius Thanks I'll check this.
[-13] is a syntax error.
You must write [- 13]
(with a space between operator and value)
Thanks :)
@romanthilenius
Hi. I checked Your patch and was working :)
I have question. Why do You use zl rev?
I made something like this and it works properly I thing ;)

and Thank You @peterostry I finished my work