Here's my NIN Yush file. It's basically an array that maps keystrokes to Windower commands. I play elemental wheel ninja primarily.
The lines that have input //gs c {some text} are passing that text to the self_command function inside my GearSwap file.
return { ['Ctrl+1'] = 'input /map', ['Ctrl+2'] = 'input /ma "Utsusemi: Ichi" <me>', ['Ctrl+3'] = 'input /ma "Utsusemi: Ni" <me>', ['Ctrl+4'] = 'input /ja Provoke <t>', ['Ctrl+5'] = 'input //gs c castElemental', ['Ctrl+6'] = 'input //gs c resetWheel', ['Ctrl+7'] = '', ['Ctrl+8'] = '', ['Ctrl+9'] = '', ['Ctrl+0'] = '', ['Ctrl+k'] = '', ['Ctrl+['] = 'input //gs c toggleEvasion', ['Alt+1'] = 'input /p <call21> Spotted >>> <t>', ['Alt+2'] = 'input /target <bt>', ['Alt+3'] = 'input /ra <t>', ['Alt+4'] = 'input /ws "Blade: Metsu" <t>', ['Alt+5'] = 'input /ja "Drain Samba" <me>', ['Alt+6'] = 'input /ja "Curing Waltz II" <me>', ['Alt+7'] = 'input /ma "Healing Waltz" <me>', ['Alt+8'] = '', ['Alt+9'] = '', ['Alt+0'] = 'input /ja "Spectral Jig" <me>', ['Alt+k'] = '', ['Alt+['] = 'input //gs c toggleStance' }