I've got some experience with Perl/C++ and other languages, but this scripting language seems to be a little non-robust to me, so I'd like to see if the experts can give me a yay/nay on whether these things would be possible or not. The motivation here is that I play a level 61 enchanter, and farming with a chanter is very tedious, and very annoying, albeit effective, but would be much more difficult to manage than for say a warrior.
Would it be possible to engage one mob and begin a casting/fighting macro, and then if another mob were to come within a certain distance put it's ID number in a queue or array or some such to perform individual actions on that mob? Specifically I am considering the situation of chain-stunning a given mob, and then if you get an add tash that mob and continue to stun and so on and so forth and maintaining that if there were several adds at one time?
Additionally is it possible to detect when a buff is fading or gone on the player? I imagine that that is an amatureish question but I spent some time reading the docs and don't recall seeing it.
That's all I can think of for the moment, but a yay/nay on both of those points would be a good starting point for me
--JB


