OK - thanks for the help. I had a feeling something was up when windows refused to allow me to edit my own macro scripts, even as an administrator.
OK - thanks for the help. I had a feeling something was up when windows refused to allow me to edit my own macro scripts, even as an administrator.
Anyone have a brd sc I could use? I tried making my own and lol, then I downloaded 2 and they have all been out of date and things didn't work. I just want a basic one that would swap gear for appropriate songs, and spells, and also let me lock weapon spots if I'm engaged (since anything important I wont be meleeing, but if I'm meleeing I'll probably be ok to not worry about equiping chatoyant staff and want to save tp). Its a similar work around that I have for my whm sc. Thanks!
I'm implementing yugl's BLU XML as my XML for spellcast, and I've noticed that barbed crescent is a trigger spell for PDT sets, and barbed crescent has been added as an actual BLU spell. Wouldn't that cause funky interactions if I tried to cast it?
There are technical workarounds, but the easier way is to replace the spell with another spell or a trigger spell (ex: trigger0). Don't forget to edit the variable section (search for *Barbed*) and replace the trigger spell there too.
Hmm. It didn't generate those errors for me, but I tweaked the commands to make sure they were correct. Uploaded another revision.
hihi, is there anyway to put spellcast into pause or sleep mode. Because i keep getting run time error due to the loop i created has been calling *thousand of time within a second. What i mean is like in C++ we got _sleep(1000) to delay it for 1 sec before it call again.
I'm just try to be lazy to cure myself so i have spellcast to monitor my hp when it get low it will auto curing waltz![]()
Basically loops can have a delay in them if you set them up correctly using a if spell=spell a cmd with a wait before recasting the spell. Link your spellcast or loop code and it should be a simple change.
<variables >
<var name="SkillUp">1</var>
</variables>
<rules>
<if spell="Pollen">
<if advanced='"$SkillUp" == "1"'>
<action type="command" >wait 20;input /ma "pollen"</action>
</if>
</if>
Basically after you cast pollen every 20 seconds will cast pollen again.
First post in here, don't slaughter me for basic questions please ._.
I just leveled THF and am trying to get a decent SC for it. I'm using one of the templates in the other thread but it's missing a couple of things that I want it to do:
1) when I SA WS, equip and lock AF3+2 hands instead of Thaumas hands, if not SA'd then Thaumas
2) I want to make an in game macro for TH gear that tells SC to equip all of my TH gear and then ignore any command to equip anything over that gear, for any action, until I execute another macro telling it to go back to TP/WS/whatever gear. The reason for this is that the template that I have puts TH gear on for SA, TA, Feint, etc. even when I don't necessarily want to/need to build TH on the mob, so I want it to be an on-demand thing only
http://pastebin.com/X7QkRKLq is my file. I know some gear is missing; I don't have it yet, lol
Appreciated.
How do I write a rule for equipping a certain WS set when Berserk and Blood Rage are both up? I know it must be the ifmode="AND" but I'm not sure how to write it.
I'm just going to answer you with pseudo-code because I'm lazy and my hands are cold, but:
if commandprefix=/wepaonskill
if mode=and buffactive=berserk buffactive=blood rage
equip when=precast set
/if
else
equip when=precast set
/else
/if
I hope that was actually useful. >_>;
You cannot double the buffactive rule. Either make a new line or use regex.
<if type="WeaponSkill">
<if advanced='(bool)buffactive("Berserk") AND (bool)buffactive("Blood Rage")'>
RULESHERE
</if>
</if>
Sadly that(damnit yugl, too fast. This is re:Cair) doesn't work, since we're using xml, you can't have 2 attribute names that are the same.
equip set2
if buffactive=berserk
if buffactive=blood rage
equip set1
/if
/if
would do it though
I actually knew that, but was thrown by them stating if mode=and and proceeded with it anyways. Derp.
Nvm. Tested and doesn't work.
Redundant stuff is redundant. You need the bool stuff before the others when using <elseif> due to the fact that the other buffs will prevent the bool rule from activating.Code:<if Advanced='"%DayElement" = "Light" OR "DayElement" = "Wind" OR "%DayElement" = "Thunder"'> <equip when="precast"> <head lock="true">Mekira-Oto +1</head> </equip> </if> <if advanced='(bool)buffactive("Berserk") AND (bool)buffactive("Blood Rage")'> <equip when="precast" set="BRBerserk" /> </if> <elseif buffactive="Blood Rage"> <equip when="precast" set="BRoutside" /> </elseif> <elseif buffactive="Berserk"> <equip when="precast" set="Berserkoutside" /> </elseif>
.
Complex a bit but doable with variables and a macro to turn the fulltime variable on and off here is a complete thf xml that has it.
<!--
TH Modes:
None: Does not swap in TH gear under any circumstances.
Tag: Swaps in TH gear when using ranged attacks and Steps, and when engaging (considered a tagging action).
SATA: In addition to tagging actions, it will equip TH gear on all SATA sets (including weaponskills).
Fulltime: Will fulltime TH gear during melee.
Trigger: /ma ClassTrigger TH:[mode], or /ma ClassTrigger cycle(THMode)
In Tag and SATA mode, will attempt to reset back to normal gear 4 seconds (configurable)
after engaging, and periodically every 4 seconds after that until TP has changed
from what it was when you engaged (Max of 5 attempts; after that it force-resets).
-->
http://pastebin.com/fPxmMSNv