VW Commands

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » Windower » Support » VW Commands
VW Commands
 Asura.Einzig
Offline
サーバ: Asura
Game: FFXI
user: Zekky
Posts: 2
By Asura.Einzig 2019-02-19 10:34:39  
I'm using the autovw lua and noticed I'm unable to determine how many stones I want to use. I'm only allowed 3 or 5 as the script says. I tried editing it so I could use 1 to 5 stones whenever, but I get errors. Any suggestions?
Code
autovw = false
pop = false
popper = "Einzig" -- change to whomever is popping
phase = 3 --1-5, false for none
rubicund = true
Code
windower.register_event('addon command',function (command,...)
	local args = T{...}
	if S{"run","on","start"}:contains(command) then
		autovw = true
        windower.add_to_chat(200,'AutoVW on')
	    if type(phase)=='number' then
			if phase==5 then
                windower.send_command('d m vw5')
            elseif phase==3 then
                windower.send_command('d m vw3')
            end
        end	
 Leviathan.Zelllo
Offline
サーバ: Leviathan
Game: FFXI
user: Zelllo
Posts: 64
By Leviathan.Zelllo 2019-02-19 12:04:32  
Could try changing:
Code
            if phase==5 then
                windower.send_command('d m vw5')
            elseif phase==3 then
                windower.send_command('d m vw3')
            end


To this:
Code
            windower.send_command('d m vw'..phase)


Then just set phase equal to the number of displacers you want to use. All this is assuming the code otherwise does what it is saying correctly and with the disclaimer that I don't care what happens if you set phase to -6 or 7657634 and you blow up your machine.

I've never used autovw, but would be curious to know if it solves your problem.
Log in to post.