I just got it working, so basically:
/*
*/
registerPlugin({
name: 'Custom Commands for Tracks/Sounds',
version: '0.1',
description: 'Script to assign a command to play a track/sound',
author: 'omano',
vars: {
track_1: {
title: 'Track/Sound 1',
type: 'track',
placeholder...