There is a proposal to make the commands.
For example [mountself to dismount mount
[Sword to eqip sword, etc ...
There are hotkeys in razor for arming/disarming weapons.
You can also make a macro to dismount. For my I hit record dismounted then hit attack then stopped the macro. Then bind it to a key. Now just hit the key and click what you want your pet to attack. Razor allows you to do quite a bit of neat things. I spent a few hours one day just testing new things and most came in very handy