So I'm looking into making a hotbar and i've gotten it largely working, but I'm looking to make it a bit more bulletproof and also work in a few nicer features.

Are there any if/then/else structures in the macro language?

Can I copy a macro, (like the one in spot 3 for example) to a specific hotbar spot?