MOTW Ep 32 – Random Mount

This macro will randomly call any mount listed as a number in between the { }

/run if (not IsMounted()) then local t = {2,3,4} CallCompanion ("Mount", t[random(#t)]) else DismissCompanion("Mount") end

Enter the number of the mount as it appears in your spellbook. If the first mount listed in your spellbook is the Abyssal Seahorse from Vashjir, that would be 1, and if the second mount is the Albino Drake, it would be 2, etc. If you want the Albino Drake in your macro, input the number 2 in the number section between the { }. Add additional mounts by separating their corresponding number with a comma.

It can be difficult counting the number of each mount as it appears in your mount tab but it will work. When first creating it, I would suggest adding only one mount and try it to make sure you have the correct corresponding number to the mount you want. One thing you will need to watch for is getting new mounts. It will mess with your ordering since the new mount will be added alphabetically and increase the number value of any mounts listed after it, meaning you may need to modify your macro.

Have fun!.

3 thoughts on “MOTW Ep 32 – Random Mount

  1. I think a /castradom mount was my 1st ever macro from back in the days of BC. My /macro macro follows with a close second.

    Since this weeks mount is bordering a script it would be good to hear you guys talk about scripts and if statements. Sort of like an advanced macro show. Thinks like syntax and what not. It would be awesome to be able to extend my macro making skills.

    I’ll have to try harder for the AMR prize, grats to Epic!

    ~Elamari

  2. I couldn’t get this to work. Now all I did was copy your macro and put my mount numbers in the {}. Then I put /dismount at the end.

  3. Don’t add /dismount in there as it should do that anyways. I’ll double check it in game tonight to make sure I didn’t miss anything, but it was working the other day for me.

Leave a Reply to Hend Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.