Auto Exec Help

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » Everything Else » Tech Support » Auto Exec Help
Auto Exec Help
 Asura.Izilder
Offline
Server: Asura
Game: FFXI
user: Izildur
Posts: 670
By Asura.Izilder 2012-08-12 11:27:45
Link | Quote | Reply
 
Is there anyway in autoexec to only register events if on a certain Job? if so how.

Thanks
 Asura.Kazaki
Offline
Server: Asura
Game: FFXI
user: Kazaki
Posts: 121
By Asura.Kazaki 2012-08-12 12:05:50
Link | Quote | Reply
 
Good question...
 Asura.Izilder
Offline
Server: Asura
Game: FFXI
user: Izildur
Posts: 670
By Asura.Izilder 2012-08-20 09:04:25
Link | Quote | Reply
 
bump
 Valefor.Midknight
Offline
Server: Valefor
Game: FFXI
user: Midknight
Posts: 7
By Valefor.Midknight 2012-08-20 09:17:57
Link | Quote | Reply
 
Yes, you can register events when you change to a particular job. For example to automatically change to your whm macro set when you change to WHM regardless of subjob, you could use:

<register event=jobchange_whm/*>input /macro Book 7; wait .5; input /macro Set 1;</register>

I don't know of a way to specifically tell events to only trigger on job X other than loading those events @ the time of job change though. You might also want to clear out any prior registered events at the same time to make sure no unwanted events are triggering.
 Shiva.Paulu
Offline
Server: Shiva
Game: FFXI
user: Paulu
Posts: 776
By Shiva.Paulu 2012-08-20 10:29:11
Link | Quote | Reply
 
You could always make separate autoexec files. You can even use your main autoexec to load them upon job changes.
necroskull Necro Bump Detected! [105 days between previous and next post]
 Asura.Izilder
Offline
Server: Asura
Game: FFXI
user: Izildur
Posts: 670
By Asura.Izilder 2012-12-03 10:27:38
Link | Quote | Reply
 
Just to re touch on this and perhaps help others who wish to keep - different job specific auto exec files xD


1. make a new/separate autoexec xml file and name it to reflect the job you want it for (case sensitive) Drk_AutoExec (= example and you should change the "Drk" bit to the job you wish)


2. stick the following in your SC Rules (Change the "DRK" bit to what ever job you want it for)

<if advanced='"$AutoExecRan" = "No"'>
<addtochat>Loading DRK AutoExec File.....</addtochat>
<command>wait 0.5;input //AutoExec Load DRK_Autoexec.xml</command>
<var cmd="set AutoExecRan Yes" />
</if>


3. and add this line in Variable

<!-- Used to load Autoexec file, do not change -->
<var name="AutoExecRan">No</var>


So now you can auto load different auto execs that wont *** with other jobs xD
[+]
Log in to post.