--- layout: post.liquid title: Wow armory bank parser and some other things published_date: 2009-04-14 00:43:00 -0700 --- I made several programs while playing World of Warcraft. He's two of them.
I'm not posting a binary because this project has not been updated since Blizzard switched to using Battle.net accounts for log-in. So currently it does not work, but it should not be too much trouble to update it.
/run m={1,34,35,40};z=GetZoneText();if IsFlyableArea() and(((z~="Dalaran")or(GetSubZoneText() =="Krasus' Landing"))and(z~="Wintergrasp"))then m={11,26};end
/run CallCompanion("MOUNT",m[math.random(1, #m)]);
It will randomly select a ground mount while in old world, dalaran (but not Krasus' Landing), or wintergrasp. While in any other part of northrend or out land, it will select a random flying mount. It is kinda cumbersome to use, as the mounts are specified by their position in the mounts window. The first m= is ground mounts will the second is flying mounts. This only has to be updated every time you get a new mount ;-).
I know there are addons such as Mounted that give you a nice UI and don't break every time a new mount is added, but I found my macro to be more reliable once I got it working.