Summary
These commands should be typed directly into the FFXI console. They can all be prefixed with /lac or /luashitacast.
Syntax: /lac exec [Required: code]
Arguments:
code: lua code to be executed
Effects: Executes arbitrary lua code from within the addon environment. Does not use standard arguments, will take all text typed after the prefix.
Example Syntax: /lac exec gProfile.AccToggle = 3;
Syntax: /lac addset [Required: set name]
Arguments:
set name: A set name, that must be valid syntax to become a lua table key.
Effects: Creates or replaces a set with your current equipment in the active environment and rewrites your sets to your profile.
Example Syntax: /lac addset tp
Warning: This function alters your lua profile by replacing a variable at file scope named 'local sets'.
-If you have mismatched curly braces, you may lose large chunks of your file.
-If you use variables to assign members of your set table in your set declaration, they will be lost.
-Any dynamically assigned sets should have a key named NoWrite set to true to avoid them being written with this function.
-Due to the potential for this function to be damaging and cost work, you will need to enable the setting 'AllowAddSet' to use it.
Syntax: /lac debug [Optional: state]
Arguments:
state: 'on' or 'off'
Effects: If 'state' is specified, sets debug mode to that state. Otherwise, toggles debug mode. Debug mode will print all your swaps to log.
Example Syntax: /lac debug on
Syntax: /lac disable [Optional: slot]
Arguments:
slot: 'all' or a slot name(see profile.html)
Effects: Locks the specified slot(all slots if 'slot' is omitted or 'all') so that it cannot be swapped.
Example Syntax: /lac disable back
Syntax: /lac enable [Optional: slot]
Arguments:
slot: 'all' or a slot name(see profile.html)
Effects: Unlocks the specified slot(all slots if 'slot' is omitted or 'all') so that swaps can be resumed.
Example Syntax: /lac enable back
Syntax: /lac equip [Required: slot] [Required: item] [Optional: slot] [Optional: item]
Arguments:
slot: a slot name(see profile.html)
item: an item name(must match the format displayed in inventory)
Effects: Directly equips an item using packets and allows the LuAshitacast environment to be aware of the swap immediately. Can list multiple items to cleanly equip same item to main/sub or similar combinations.
Example Syntax: /lac equip back "Mecisto. Mantle"
Syntax: /lac fwd [Optional: args]
Arguments:
args: arguments to be forwarded
Effects: Sends a command to your profile via the HandleCommand function. Any specified arguments are passed as a table.
Example Syntax: /lac fwd /toggle acc
Syntax: /lac load [Optional: filename]
Arguments:
filename: filename of a profile to load
Effects: Loads a new profile. If filename is not specified, will look in ashita/config/addons/luashitacast/playername_playerid/job.lua.
If filename is specified, will search for the specified file in ashita/config/addons/luashitacast/playername_playerid/filename then ashita/config/luashitacast/filename. If you do not specify extension, will add .lua.
Example Syntax: /lac load warodyssey.lua
Syntax: /lac naked
Arguments: N/A
Effects: Removes all equipment and disables all slots.
Example Syntax: /lac naked
Syntax: /lac newlua [Optional: filename]
Arguments:
filename: filename to use
Effects: Creates and loads a new profile. If filename is not specified, will use ashita/config/addons/luashitacast/playername_playerid/job.lua.
If filename is specified, will use ashita/config/addons/luashitacast/playername_playerid/filename and append .lua if no extension is specified.
If file already exists, this function will fail rather than overwriting it.
Profile will contain function declarations and an empty sets section, and enable addset. This is best used in conjunction with addset to quickly prepare a new job.
Example Syntax: /lac newlua warskillup.lua
Syntax: /lac reload
Arguments: N/A
Effects: Reloads the current profile from disk.
Example Syntax: /lac reload
Syntax: /lac safecall
Arguments: N/A
Effects: Toggles whether profile functions will be pcalled. Disabling this allows a full crash so that you can get a more detailed error message.
Example Syntax: /lac safecall
Syntax: /lac set [Required: set][Optional: duration]
Arguments:
set: a set name(must be a table entry in profile.Sets table)
duration: duration, in seconds, to equip the set for
Effects: Equips a set for the specified duration(default of 3 seconds if duration is not specified). Will not override disabled slots.
Example Syntax: /lac set pdt 3.0
Syntax: /lac unload
Arguments: N/A
Effects: Unloads the current profile.
Example Syntax: /lac unload
Syntax: /lac gear
Arguments: N/A
Effects: Communicates with the Packer plugin to automatically gather your current profile's equipment. Requires Packer 1.00 or higher to function.
Example Syntax: /lac gear
Syntax: /lac validate
Arguments: N/A
Effects: Communicates with the Packer plugin to check whether your current profile's equipment is in your inventory and wardrobes and prints a report. Requires Packer 1.00 or higher to function.
Example Syntax: /lac validate
Syntax: /lac pack
Arguments: N/A
Effects: Communicates with the Porter addon to store items not in your current profile on the porter moogle.
Example Syntax: /lac pack
Syntax: /lac unpack
Arguments: N/A
Effects: Communicates with the Porter addon to retrieve items in your current profile from the porter moogle.
Example Syntax: /lac unpack
Syntax: /lac preppack
Arguments: N/A
Effects: Communicates with the Porter addon to retrieve items that can be stored at porter moogle and are not in your current profile.
Example Syntax: /lac preppack
Syntax: /lac prepunpack
Arguments: N/A
Effects: Communicates with the Porter addon to retrieve storage slips that contain items in your current profile.
Example Syntax: /lac prepunpack
Syntax: /lac list gui
Arguments: N/A
Effects: Displays a GUI that lets you browse your current profile's sets visually.
Example Syntax: /lac list gui
Syntax: /lac list [Required: set]
Arguments:
set: a set name(must be a table entry in profile.Sets table)
Effects: Writes the contents of a set in your current profile to the chat log.
Example Syntax: /lac list pdt
Syntax: /lac list
Arguments: N/A
Effects: Lists all sets in your current profile in the chat log.
Example Syntax: /lac list