Forum rules: Do not post bugs or feature requests here! Report bugs to our Issue Tracker and suggestions to Suggest a Feature.

This site is not for solicitation of services or 'purchasing' development. Please do not post requesting side mods/plugins and so on. Your thread will be removed, and you will receive a warning.
User avatar
By Jond22
#149383 In the first beta for Pixelmon 4.0, I was using the /entitydata command to gather some info on trainers, and then spawn them elsewhere using /summon pixelmon.Trainer. One of the tags I found while looking at a trainer's data tags were:

Commands:{winCommands:[],loseCommands:[],}

I was wondering if anyone had experience in using these, as it would be really really helpful for some adventure map ideas I have in mind.

I've tried versions like the ones below, but none seem to work. Any ideas?

Commands:{winCommands:[{Command:"say WIN"}],loseCommands:[{Command:"say LOSE"}],
Commands:{winCommands:[{"say WIN"}],loseCommands:[{"say LOSE"}],
Commands:{winCommands:[{"/say WIN"}],loseCommands:[{"/say LOSE"}],
Commands:{winCommands:[{/say WIN}],loseCommands:[{/say LOSE}],

JOIN THE TEAM