Power Command - cloudthrottle/dcc-ex--commands GitHub Wiki

Usage

Without Track param

const options = {
    power: 0    
}

powerCommand(options)
// returns '<0>'

With Track param

const options = {
    power: 1,
    track: "MAIN"
}

powerCommand(options)
// returns '<1 MAIN>'
⚠️ **GitHub.com Fallback** ⚠️