-
Notifications
You must be signed in to change notification settings - Fork 3
Macros
Sean Proctor edited this page Jul 5, 2022
·
2 revisions
Macros are a way to have a certain set of key combinations (normal key, plus modifiers) modify the text entry.
Special characters:
- \x clears the entry box and stores the cleared text
- \r submits what is currently in the entry box
- \p delays the macro execution by 1 second
- @ moves the cursor to its location
- ? inserts the stored text from \x
Variables can be inserted with %s. Like "attack %target%"
There are a few special commands that can be used by putting them in {}s. Like "{copy}"
Commands:
- copy - copies the currently selected text to the clipboard (currently only works with entry box, to copy text from the game, highlight the text, right click and select copy)
- paste - insert contents of the clipboard to the entry box
- prevhistory - Change the value of the entry box to the previous entry in the history stack
- nexthistory - Change the value of the entry box to the next entry in the history stack
- stopscript - Stops any running scripts
- pausescript - Pauses or resumes any running scripts
- repeatlast - Send the last command again