Use Of Script File Inside Another?

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » Support » Use of script file inside another?
Use of script file inside another?
 Asura.Snubber
Offline
サーバ: Asura
Game: FFXI
user: snubber
Posts: 55
By Asura.Snubber 2015-01-21 05:00:18  
Hey guys, I am just wondering if there is a command to use for a script file created, eg for ws gear change, inside another one, so that there is only one command needed to type when setting up for macro (instead of calling ws script, do ws, pause, then another tp script).

Tks.
Offline
Posts: 12443
By Pantafernando 2015-01-21 05:53:45  
I use a simple script like this for ws swap:

input /equipset 1
input /ws "xxx" <t>
wait 2
input /equipset 2

then I place in macro

//exec "ws.txt"
 Asura.Snubber
Offline
サーバ: Asura
Game: FFXI
user: snubber
Posts: 55
By Asura.Snubber 2015-01-21 06:09:22  
ya i did that too, was just wondering if you can just have it all in one script file.

tks for the reply.
 Asura.Calatilla
Offline
サーバ: Asura
Game: FFXI
user: Calatilla
Posts: 2507
By Asura.Calatilla 2015-01-21 06:17:31  
If you're talking about Windower scripts I don't think you can. Although I've never actually tried.
 Lakshmi.Byrth
VIP
Offline
サーバ: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2015-01-21 06:24:31  
Sure, you can. Just use the exec command inside of a script.
 Asura.Calatilla
Offline
サーバ: Asura
Game: FFXI
user: Calatilla
Posts: 2507
By Asura.Calatilla 2015-01-21 06:32:38  
I've just tried that, it seems to ignore the console command entirly. Or do you drop /console and just go with exec?

Something like
/exec WHM/Fastcast.txt would work?
Offline
Posts: 12443
By Pantafernando 2015-01-21 06:41:54  
I think it need or // or input.

File inside " " also.

Lemme test rq.

Edit:

Exec "file.txt"

No // nor input is required.
 Asura.Calatilla
Offline
サーバ: Asura
Game: FFXI
user: Calatilla
Posts: 2507
By Asura.Calatilla 2015-01-21 06:49:11  
Learn something new everyday. Knew there was something I was missing lol
 Leviathan.Arcon
VIP
Offline
サーバ: Leviathan
Game: FFXI
user: Zaphor
Posts: 660
By Leviathan.Arcon 2015-01-21 06:56:15  
Don't need quotes either, and lower case works fine. Everything you can use with // inside the game you can use without the slashes inside a script.
 Lakshmi.Byrth
VIP
Offline
サーバ: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2015-01-21 06:56:58  
windower scripts are just like dropping all the commands into console at once, so any command that works in console will also work in a script.
 Asura.Snubber
Offline
サーバ: Asura
Game: FFXI
user: snubber
Posts: 55
By Asura.Snubber 2015-01-21 08:05:40  
Tks guys I got it working ^^