Use Of Script File Inside Another?

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » Windower » Support » Use of script file inside another?
Use of script file inside another?
 Asura.Snubber
Offline
Server: Asura
Game: FFXI
user: snubber
Posts: 55
By Asura.Snubber 2015-01-21 05:00:18
Link | Quote | Reply
 
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.
Online
Posts: 12464
By Pantafernando 2015-01-21 05:53:45
Link | Quote | Reply
 
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
Server: Asura
Game: FFXI
user: snubber
Posts: 55
By Asura.Snubber 2015-01-21 06:09:22
Link | Quote | Reply
 
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
Server: Asura
Game: FFXI
user: Calatilla
Posts: 2507
By Asura.Calatilla 2015-01-21 06:17:31
Link | Quote | Reply
 
If you're talking about Windower scripts I don't think you can. Although I've never actually tried.
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2015-01-21 06:24:31
Link | Quote | Reply
 
Sure, you can. Just use the exec command inside of a script.
 Asura.Calatilla
Offline
Server: Asura
Game: FFXI
user: Calatilla
Posts: 2507
By Asura.Calatilla 2015-01-21 06:32:38
Link | Quote | Reply
 
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?
Online
Posts: 12464
By Pantafernando 2015-01-21 06:41:54
Link | Quote | Reply
 
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
Server: Asura
Game: FFXI
user: Calatilla
Posts: 2507
By Asura.Calatilla 2015-01-21 06:49:11
Link | Quote | Reply
 
Learn something new everyday. Knew there was something I was missing lol
 Leviathan.Arcon
VIP
Offline
Server: Leviathan
Game: FFXI
user: Zaphor
Posts: 660
By Leviathan.Arcon 2015-01-21 06:56:15
Link | Quote | Reply
 
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
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2015-01-21 06:56:58
Link | Quote | Reply
 
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
Server: Asura
Game: FFXI
user: snubber
Posts: 55
By Asura.Snubber 2015-01-21 08:05:40
Link | Quote | Reply
 
Tks guys I got it working ^^
Log in to post.