
Originally Posted by
Nameless
Awesome, thanks for explaining, it helps a great deal. I will post the file tonight for you guys to check. On btw, what will be a good way to post this. As of now, it has about 800 lines... so I don't think it would be a good idea to simply copy and past....
Copy-paste would be fine, if you put the whole thing in a "[code]" block in a post, it should look ok.

Originally Posted by
Nameless
Also, I have some basic understanding of autoexec, and I believe I use the lostbuff feature of autoexec to trigger some gear set in my xml. If possible, may you guys also help me with what to put in autoexec other than that after reading through the xml (I didn't even know autoset requires autoexec, so I will definitely need help on that one on what to put in the autoexec file).
Autoset doesn't actually require autoexec. SpellCast alone is able to detect the changes that autosets support: starting to rest, stopping resting, engaging, disengaging, etc. You can still use autoexec though, like you said, for some things like gaining buffs, losing buffs, weather, day/night.

Originally Posted by
Nameless
As for VAR, it requires comment like //sc VAR etc in your in game macro right? if that's the case then I fully understand now.
There are a few ways to use the vars, you can directly have commands like that in a macro if you want, or you can use a "dummy" spell to have it kept in your SpellCast rules. For my RDM para/slow accuracy cycling I described earlier, I have a chunk in my rules like this:
Code:
<elseif spell="Sekkanoki"> <!-- cycle potency/accuracy gear sets for Paralyze and Slow -->
<action type="cancelspell" />
<if advanced='"$SlowParaSet" = "mnd-potency"'>
<action type="var" cmd="set SlowParaSet mnd-hybrid" />
<action type="addtochat">Hybrid Gear</action>
</if>
<elseif advanced='"$SlowParaSet" = "mnd-hybrid"'>
<action type="var" cmd="set SlowParaSet mnd-accuracy" />
<action type="addtochat">Accuracy Gear</action>
</elseif>
<else>
<action type="var" cmd="set SlowParaSet mnd-potency" />
<action type="addtochat">Potency Gear</action>
</else>
</elseif>
Then my "cycle" macro just tries to use Sekkanoki on RDM, which will never actually happen, but it triggers those rules.