Macro: Difference between revisions

From Vintage Story Wiki
1,175 bytes removed ,  1 year ago
no edit summary
No edit summary
No edit summary
Line 4: Line 4:


== Creation ==
== Creation ==
In order to access all your Macros, press Ctrl + M, then you need to name your Macro and tell which inputs on the keyboard needs to trigger a command by typing the right hotkeys (single or combo) it works both for server and client commands.
[[File:Macro Editor.png|alt=Example of a Macro Editor|thumb|363x363px]]
 
In order to access all your Macros, press Ctrl + M, then you need to name your Macro and tell which inputs on the keyboard needs to trigger a command by typing the right hotkeys (single or combo) it works both for server and client commands.Or type the follow [[List of server commands/macro|server command]]:
Example of a macro:[[File:Macro Editor.png|alt=Example of a Macro Editor|thumb|363x363px|center]]
 
 
Or type the follow command:
 
=== /macro ===
 
* <code>/macro [addcmd|setcmd|syntax|desc|priv|save|delete|show|list]</code>Create a server side macro that can execute one or more commands
** <code>/macro addcmd [command]</code>Add a command to a temporary macro.
** <code>/macro setcmd [command]</code>Override a command to a temporary macro.
** <code>/macro [syntax]</code>Sets the syntax help info displayed when using <code>/help [name]</code>.
** <code>/macro [desc]</code>Sets the description text displayed when using <code>/help [name]</code>
** <code>/macro [priv]</code>Sets the privilege required to execute this command, e.g. '''controlserver''' if only for admins or, '''build''' for any player with build rights.
** <code>/macro show</code>Shows the contents of the temporary macro currently being defined by above commands.
** <code>/macro save [name]</code>Saves the temporary macro defined by above command to given command name.
** <code>/macro list</code>Shows a list of all saved macros.
** <code>/macro show [name]</code>Shows the contents of a saved macro.
** <code>/macro delete [name]</code>Deletes a previously saved macro.
** <code>/macro discard [name]</code>Discards the temporary macro.
 
== Recommendations ==
== Recommendations ==


Confirmedusers
162

edits