What code have you tried?
What errors are you getting?
Our github has all the code you need, separated into individual functions of course, that you could combine into a single command.
Within that single command you could call the ULX functions individually, or, longer but would work, use the code from within all of those functions.