Use a single Dropdown widget to send different note MIDI messages (Value 1 = note 01, Value 2 = note 60, etc)

Reading the link you gave me (One push button sends a sequence of values?), I can say that I find it useful for my new problem. See, through the widget itself or by using a script I managed to make a dropdown/switch to send different MIDI note messages (Value 1 = note 1; Value 2 = note 2, etc). Now, I need to send multiple MIDI messages in a given order and with a little bit of delay between them. I hope to get an understanding about how custom modules work.