Multiselect (input/multiselect and output/multiselect)

Hello, I'm making a plugin 3d engines and I need help. The plugin is a modified version of the blog plugin.
Help with the implementation of input/multiselect and output/multiselect.
Need to implement a choice like this site
http://devmaster.net/devdb/engines
Share an example please.