Post deleted by User.
Sending Console Exec Commands Via Shortcuts |
||
Sending console exec commands via Shortcuts
/con works instead of /console (saved you 4 extra keystrokes) :)
You can set binds, so for example F10 could be set to exec the "/con exec warp.txt" I'm not super savvy with binds since I play with a controller but I believe you can do that in the Windower4/Scripts/init.txt file or through Gearswap. /console send @all /equip lring 'Warp Ring'
Wait.9 /console send @all /item 'Warp Ring' <me> Wait.1 (Repeate line above for fail safe) Done. Asura.Chaostaru
Offline
If you use gearswap Luas, can throw this under where all the normal binds are. Bound to Alt + W.
Code send_command('bind !w input /equip ring2 "Warp Ring"; /echo Warping; wait 11; input /item "Warp Ring" <me>;') also can do Alt + Q for Teleholla/dem/mea ring as-well. Code send_command('bind !q input /equip ring2 "Dim. Ring (Holla)"; /echo Reisenjima; wait 11; input /item "Dim. Ring (Holla)" <me>;') of course you can bind it to any key you want, that's just what I use. I don't think you can do that with shortcuts but you can do that with gearswap.
Code function job_self_command(commandArgs, eventArgs) if commandArgs:get(1) == 'wr' then send_command('input /equip ring1 "Warp Ring"; wait 10; input /item "Warp Ring" <me>') add_to_chat(158,'Warp Ring being used.') end end DirectX said: » Asura.Meliorah said: » /console send @all /equip lring 'Warp Ring' Wait.9 /console send @all /item 'Warp Ring' <me> Wait.1 (Repeate line above for fail safe) Done. DirectX said: » Asura.Meliorah said: » /console send @all /equip lring 'Warp Ring' Wait.9 /console send @all /item 'Warp Ring' <me> Wait.1 (Repeate line above for fail safe) Done. Valefor.Darvis
Offline
Asura.Meliorah said: » /console send @all /equip lring 'Warp Ring' Wait.9 /console send @all /item 'Warp Ring' <me> Wait.1 (Repeate line above for fail safe) Done. This is basically what I have in a regular macro. Works fine. Asura.Meliorah said: » I don't think you can do that with shortcuts but you can do that with gearswap. Code function job_self_command(commandArgs, eventArgs) if commandArgs:get(1) == 'wr' then send_command('input /equip ring1 "Warp Ring"; wait 10; input /item "Warp Ring" <me>') add_to_chat(158,'Warp Ring being used.') end end So just "//wr" to fire off this GearSWap command? Cerberus.Shadowmeld
Offline
For yourself it's:
//wr for typed command /console wr for a macro For send it would be: //send @<character name> wr for typed /console send @<character name> wr for macro Added that snip of code to the end of what started out as Kinematics .lua, just changed the gear sets to match my garbage gear, tried both "//wr" in the in-game chat, "/console wr" in a macro, and "wr" from the console window, none of them equip the ring, nor add the chat to the game window. Is there a particular spot for this to be placed in the file? I got no errors when reloading with //gs r
I believe the correct command would be //gs c wr or /con gs c wr from a macro. This is the format for Gearswap self-commands.
Sylph.Subadai said: » I believe the correct command would be //gs c wr or /con gs c wr from a macro. This is the format for Gearswap self-commands. This is correct and for send //gs c send @all gs c wr Note that you should add an intentional delay on each character starting at 1s and adding on .4 for each additional character so main character Code then send_command('input /equip ring1 "Warp Ring"; wait 10; input /item "Warp Ring" <me>') second box Code then send_command('input /echo Waiting..;wait 1;/equip ring1 "Warp Ring"; wait 10; input /item "Warp Ring" <me>') third box Code then send_command('input /echo Waiting..;wait 1.4;input /equip ring1 "Warp Ring"; wait 10; input /item "Warp Ring" <me>') etc, this prevents there being any issues with the commands not going off properly. |
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|