This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
ashitav3:commands [2017/04/18 18:42] atom0s [Misc Commands] |
ashitav3:commands [2017/04/18 19:09] atom0s [Input Device Commands] |
||
---|---|---|---|
Line 44: | Line 44: | ||
**/move** | **/move** | ||
* //Moves and resizes the game window.// | * //Moves and resizes the game window.// | ||
+ | |||
+ | <code> | ||
+ | /move size [w] [h] - Sets the window size with the given width and height. | ||
+ | /move [x] [y] - Moves the window to the given x and y screen coords. | ||
+ | </code> | ||
\\ | \\ | ||
Line 53: | Line 58: | ||
* //Causes Ashita to sleep for a given period of time. (Use with caution, can freeze the game if used incorrectly!// | * //Causes Ashita to sleep for a given period of time. (Use with caution, can freeze the game if used incorrectly!// | ||
+ | <code> | ||
+ | /wait [time_in_seconds] | ||
+ | </code> | ||
\\ | \\ | ||
===== Plugin Commands ===== | ===== Plugin Commands ===== | ||
Line 58: | Line 66: | ||
**/plugin** | **/plugin** | ||
* //Plugin specific sub-commands that can be used to interact with plugins.// | * //Plugin specific sub-commands that can be used to interact with plugins.// | ||
+ | |||
+ | <code> | ||
+ | /plugin silent - Toggles silent plugin messages. (Stops Ashita from printing load and unload messages for plugins.) | ||
+ | </code> | ||
**/load**\\ | **/load**\\ | ||
Line 64: | Line 76: | ||
**/pluginload** | **/pluginload** | ||
* //Loads a plugin file.// | * //Loads a plugin file.// | ||
+ | |||
+ | <code> | ||
+ | /load [name] | ||
+ | </code> | ||
**/unload**\\ | **/unload**\\ | ||
Line 70: | Line 86: | ||
**/pluginunload** | **/pluginunload** | ||
* //Unloads a plugin file.// | * //Unloads a plugin file.// | ||
+ | |||
+ | <code> | ||
+ | /unload [name] | ||
+ | </code> | ||
**/unloadall** | **/unloadall** | ||
Line 83: | Line 103: | ||
**/wireframe** | **/wireframe** | ||
* //Alters the fill mode. (Mainly for toggling wireframe on and off.)// | * //Alters the fill mode. (Mainly for toggling wireframe on and off.)// | ||
+ | |||
+ | <code> | ||
+ | /fillmode - Toggles the fillmode. | ||
+ | /fillmode [num] - Sets the fillmode to a specific value. (1 = point, 2 = wireframe, 3 = solid) | ||
+ | </code> | ||
**/ambient** | **/ambient** | ||
* //Alters the ambient lighting.// | * //Alters the ambient lighting.// | ||
+ | <code> | ||
+ | /ambient - Toggles the ambient setting on and off. | ||
+ | /ambient [0/1] - Sets the ambient setting on and off. (0 = off, 1 = on) | ||
+ | /ambient [a] [r] [g] [b] - Sets the ambient color. | ||
+ | </code> | ||
\\ | \\ | ||
===== Script Commands ===== | ===== Script Commands ===== | ||
Line 94: | Line 124: | ||
* //Executes a script file.// | * //Executes a script file.// | ||
+ | <code> | ||
+ | /exec [name] - The name of the script file to execute within the scripts folder. | ||
+ | </code> | ||
\\ | \\ | ||
===== Input Commands ===== | ===== Input Commands ===== | ||
Line 101: | Line 134: | ||
* //Forces a string to be parsed by the Ashita command handler.// | * //Forces a string to be parsed by the Ashita command handler.// | ||
+ | <code> | ||
+ | /input [command] - Sends a command to the Ashita parser to be interpreted. | ||
+ | </code> | ||
\\ | \\ | ||
===== Alias Commands ===== | ===== Alias Commands ===== | ||
Line 107: | Line 143: | ||
* //Interacts with command alias' to create quick shortcuts.// | * //Interacts with command alias' to create quick shortcuts.// | ||
+ | <code> | ||
+ | /alias [trigger] [command] - Adds an alias with the given trigger and command. | ||
+ | /alias add [trigger] [command] - Adds an alias with the given trigger and command. | ||
+ | /alias [del|delete] [trigger] - Deletes an alias with the given trigger. | ||
+ | /alias list - Lists all teh current bound alias'. | ||
+ | /alias clearall - Clears all alias binds. | ||
+ | </code> | ||
\\ | \\ | ||
===== Bind Commands ===== | ===== Bind Commands ===== | ||
Line 113: | Line 156: | ||
**/keyboard_bind** | **/keyboard_bind** | ||
* //Interacts with keyboard binds.// | * //Interacts with keyboard binds.// | ||
+ | |||
+ | <code> | ||
+ | /bind [!^@#+][key] [down|up] [command] - Binds a key to the given command. | ||
+ | /bind list - Lists the current bind list. | ||
+ | /bind silent - Toggles the silent bind feature to remove message output when binds are added or removed. | ||
+ | </code> | ||
**/unbind**\\ | **/unbind**\\ | ||
**/keyboard_unbind** | **/keyboard_unbind** | ||
* //Interacts with keyboard binds.// | * //Interacts with keyboard binds.// | ||
+ | |||
+ | <code> | ||
+ | /unbind [!^@#+][key] [down|up] [command] - Unbinds a key. | ||
+ | </code> | ||
**/unbindall** | **/unbindall** | ||
Line 124: | Line 177: | ||
* //Toggles the bind-block feature to ignore keybinds while chat input is open in-game.// | * //Toggles the bind-block feature to ignore keybinds while chat input is open in-game.// | ||
+ | <html><div style="margin-left:20px;border:1px solid #F5E79E;padding:5px;background-color:#F9EFBF;border-radius:5px;font-family:Consolas;"> | ||
+ | Keybind Notes:<br> | ||
+ | ! - Represents ALT key must be pressed with the keybind.<br> | ||
+ | ^ - Represents CTRL key must be pressed with the keybind.<br> | ||
+ | @ - Represents Windows key must be pressed with the keybind.<br> | ||
+ | # - Represents Apps key must be pressed with the keybind.<br> | ||
+ | + - Represents Shift key must be pressed with the keybind.<br> | ||
+ | </div></html> | ||
\\ | \\ | ||
===== Input Device Commands ===== | ===== Input Device Commands ===== | ||
Line 129: | Line 190: | ||
**/gamepad** | **/gamepad** | ||
* //Interacts with gamepad related settings.// | * //Interacts with gamepad related settings.// | ||
+ | |||
+ | <code> | ||
+ | /gamepad [allowbackground|allowbg|bg] - Toggles the gamepad background feature. | ||
+ | /gamepad [allowbackground|allowbg|bg] [0|1] - Sets the gamepad background feature on or off. (0 = off, 1 = on) | ||
+ | /gamepad [allowbackground|allowbg|bg] [off|on] - Sets the gamepad background feature on or off. | ||
+ | </code> | ||
**/blockmouse** | **/blockmouse** | ||
* //Toggles full mouse blocking.// | * //Toggles full mouse blocking.// | ||