Basic Tutorial
Donate for my bot to sustain it: https://www.patreon.com/user?u=99116894
Last updated
Donate for my bot to sustain it: https://www.patreon.com/user?u=99116894
Last updated
Macros are useful for when you need to pass a quick message, a roll, or any stuff that you would need without typing much, for example you can make a macro that already rolls the dice for you to stats for a tabletop RPG Example:
This macro was created to a OSE system i'm being with, and it rolls the attributes and gives the initial gold, it's in portuguese but you can do it in any language you want
to make a macro you use "/macro create <macro prefix> <macro command>", where the macro prefix you type the prefix you want to give your macro, starting with +>, then you type the command for your macro. Example:
As you can see i started the macro prefix with +> in "+>damage", and i used one of the basic commands for macros, the "!roll" command.
There are 4 basic commands that you can use to create commands, being them: - !roll - !math - !echo - !select "!roll" allows you to roll dices with your macro, for example you can use "!roll 5d5+8" and it roll "5d5" and sums it with 8 Example:
"!math" allows you to make math operations, such as 2+2 Example:
Here you can see it summed 2+2 and resulted into 4
"!echo" Allows you to create messages that can be sent by a few letters
typo: echo messages shall be always between "[]" brackets, like [Hello World]
Example:
You can break lines by typing an isolated "\n" into the echo message, it will create a line breaking message that will type a new message into a second line Example:
As you can see, the message jumped 1 line after the "\n" thing, which wrote "This is a new message" into a 2nd line
"!select" allows you to make a random select of a thing you search, every option is placed betwen "()" and each "()" is separated by ",", and all those options shall be all inside a "[]", like [(monkey),(banana),(jungle)]
Example:
As you can see, the bot selected randomly banana from the options i displayed into the macro command
ADMINS ONLY:
You can create macros made for server, and set them to public or private. Macro servers are started with -> (typo, gitbook convert the joint of "-" and ">" into an arrow, being the "-" at the beginning and ">" at the end, without spaces between each other, so it's not literally in arrow, just the joint of two characters/symbols) instead of "+>" Example:
As you can see a non-administrator user could use the macro since it was a public macro.
When you don't describle the macro attribute, aka public or private, the macro is by default setted to private.
Private macros only admins can use it, non admin users from a server cannot use server private macros
Example:
As you can see, the executed command made for private don't fuction when a non-administrator user tries to use the command, since it's private