Hacking, Coding and Gaming | @[email protected]

I enjoy programming (especially solving problems in new ways and thinking outside the box) and playing World of Warcraft... which has addons, which save settings to your local computer, which are a bit of a pain to keep in sync if (like me) you play on multiple computers.

Some addons need to save tons of data, but others achieve a lot with just a few (often boolean) settings... if only Blizzard gave addons a way to store a limited amount of data, I thought... and then I realized that they do, although addon writers might not yet know it: Macros.

WoW macros are stored server side (meaning are accessible on your WoW account regardless of the computer you log in from), intended for you to manually create sequences of commands, and are limited in text size. In theory an addon could use the CreateMacro, EditMacro, DeleteMacro and GetMacroBody functions to store and retrieve said settings in a text-string format (probably best to start them with a # so they're considered a comment and never accidentally run). The catch would be having to loop through all of a user's Macros to find your addon's settings (minor issue), and that with only a limited of Macro slots a user (or a user's other addons) might have already used them all.

Still, an interesting idea me thinks :)