Macro: Difference between revisions

From Vintage Story Wiki
no edit summary
(Created page with "Macro is a a rule or pattern which specifies how a certain input string (like a combination of keys) must be mapped to an output string replacement (also often a string) according to a defined procedure. In Vintage Story, Macros are used to use certain commands quick without need to type the command on the chat which saves some time when you need it. == Creation == In order to access all your Macros, press Ctrl + M, then you need to name your Macro and tell which input...")
 
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 it it could be both server and client commands.
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:
Or type:
Line 22: Line 22:
** <code>/macro delete [name]</code>Deletes a previously saved macro.
** <code>/macro delete [name]</code>Deletes a previously saved macro.
** <code>/macro discard [name]</code>Discards the temporary macro.
** <code>/macro discard [name]</code>Discards the temporary macro.
== Recommendations ==
=== Name ===
Name all the Macros with unique names to work.
If it displays error, check if there's a macro that says that.
=== Hotkeys ===
Insert multiple hotkeys [Ctrl, Alt, Shift, etc.] + [Anything] because that the game already has a lot of hotkeys that serve a purpose.
Confirmedusers
162

edits