Markton wrote:Grey,
It's been a minor thorn in me arse to have to recast one of my pet's buffs every time I zone. (It stops working after zoning) Zoned.cfg works well to cast the buff as soon as I zone in.
Still testing but so far, so good.
Thank you for chiming in!!
Gratz on the new baby btw

**Update** By using this method, every character that zones will trigger anything in the Zoned.cfg to fire. Have a full group? Pet buff will be cast 6 times. Back to square one.....
I would need to double check the correct syntax for it but you can write in a check for it.
Really depends on what exactly you want it to do, in this case you are talking about a pet buff. Could try something like this, might have to cast stuff to another type so it matches but:
Example - obviously you would need to edit to suitCode: Select all
/if (!${Zone.ID}==1 && ${Me.Name.Equal[Dummy]} && !${Window[CastingWindow].Open}) /cast "name of buff"
I zoned so zoned.cfg is checked, If I am not in zone 1 (change to taste, IE guildhall) and the zoned characters name is Dummy and I am not already casting (wouldnt be an issue but I always check to make sure I'm not already casting to avoid crashes) then cast my pet buff. Pet buff I assume auto targets the pet, if not you would need two lines. One to target pet and another to cast.
CFG files read and execute top down. If you have not already done so go read the mq2 wiki/manual about cfg files. Granted the info is rather limited.
In fact due to how cfg files can act I usually have a delay on the very first line of mine, that way I can consider lag and/or slow loading into the equation. Since you might be considered to have zoned by the server and/or MQ2 thinks you have finished zoning but your client has not loaded in enough for you to do anything.
As usual any questions just reply here or PM me if you want some serious talk time on a personal level, can get on some form of instant messenger to do Q&A sessions.