Auto Equip Berserker's Torque During Sleep

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » Windower » Spellcast Scripting » Dark Knight » Auto Equip Berserker's Torque During Sleep
Auto Equip Berserker's Torque During Sleep
 Phoenix.Urteil
Offline
Server: Phoenix
Game: FFXI
user: Urteil89
By Phoenix.Urteil 2013-01-29 06:37:28
Link | Quote | Reply
 
As the title says looking to use autoexec to detect sleep and then equip Berserker's torque automatically:


(This is not working)

Currently in Autoexec:
Code
<autoexec>

<register event="gainbuff_Aftermath*|losebuff_Aftermath*|gainbuff_Haste|losebuff_Haste|gainbuff_Last*|losebuff_Last*|gainbuff_Embrava|losebuff_Embrava|gainbuff_March|losebuff_March|gainbuff_Voidwatcher|losebuff_Voidwatcher
gainbuff_Sleep|losebuff_Sleep">Update</register>
<register event="hpp_*|mpp_*">Update</register>
<register event="tp_0">Update</register>
           
</autoexec>



Currently in SC:
Code
<!--Berserker Torque Rules-->/
<if buffactive="Sleep">
<equip><neck>Berserker's Torque</neck></equip>
<addtochat>::::[[Berserker Torque Equipped!]]::::</addtochat>
</if>




Not really sure if it is sleep that is not being detected or if I have the wrong things in auto exec etc.

Any help is appreciated, thank you.
 Asura.Rucks
Offline
Server: Asura
Game: FFXI
user: Seravolk
Posts: 207
By Asura.Rucks 2013-01-29 07:45:30
Link | Quote | Reply
 
Code
<!--Berserker Torque Rules-->/
<if buffactive="Sleep">
    <equip when="engaged|idle">
        <neck>Berserker's Torque</neck>
    </equip>
    <addtochat>::::[[Berserker Torque Equipped!]]::::</addtochat>
</if>


That might fix it, spellcast can be fickle when it comes to more than one /'s per line.


Try that in your spellcast, then input a command while slept to see if it registers that as a legitimate command, then you can fiddle with your autoexec
 Phoenix.Urteil
Offline
Server: Phoenix
Game: FFXI
user: Urteil89
By Phoenix.Urteil 2013-01-29 08:55:24
Link | Quote | Reply
 
The problem seems to be that the autoexec is not picking up the fact that I'm slept.

I wonder if "sleep" is the right thing to use, perhaps an ID # would be better.




It does recognize that I'm slept, the neck however is not being equipped, the addtochat functions.
 Phoenix.Urteil
Offline
Server: Phoenix
Game: FFXI
user: Urteil89
By Phoenix.Urteil 2013-01-30 03:06:41
Link | Quote | Reply
 
Solved.
necroskull Necro Bump Detected! [108 days between previous and next post]
 Ragnarok.Galiber
Offline
Server: Ragnarok
Game: FFXI
user: Galiber
Posts: 228
By Ragnarok.Galiber 2013-05-18 08:26:56
Link | Quote | Reply
 
Phoenix.Urteil said: »
Solved.

I'm sorry what did you change to make it work? I can't get it to equip either!
Log in to post.