!r #d# You can enter flavor text like this after the 2nd # and it will attach to the roll by the bot.
Replace the 1st # with the number of dice to roll.
Replace the last # with the sides of the dice.
!r 4d6kh2
The kh2 in this command keeps highest two rolls, good for expert class.
Probot has a plethora of stored information that can be recalled.
!web links to the homepage of the website
!hb links to the homebrew section of the website.
!rest gives the rules in WWN about resting in regard to a mage regaining spells
!heal gives all the basic information regarding healing
!necro !ele !high# (1-5) Gives a list of each of the tradition's spells.
Advanced Avrae, creating an alias.
Change bow for whatever command you want to use. Damage mod is what you add for damage and attack mod is for attacks.
Line 5 you may need to change the damage dice.
!alias Bow embed
{{damageMod=2}}
{{attackMod=5}}
{{aroll=vroll(f"1d20 + {attackMod}")}}
{{droll=vroll(f"1d8 + {damageMod}")}}
{{f'-f "Attack|{aroll.full}"'}}
{{f'-f "Damage|{droll.full}"'}}
!alias alias_name embed is the command that tells Avrae "hey, all the stuff I'm about to say is all part of the alias I'm about to tell you about," the second word (alias_name, in this example) is the name of the alias, and "embed" is a keyword that tells it "get ready for a new block of code to define this alias."
After that first statement, all of the subsequent lines need to be in double curly braces {{ }}, which tells Avrae how to tell the difference between each discreet subsequent statement.
Statements like damageMod = 2 and attackMod = 5 are definitions of variables. You could name them literally anything and give them literally any value you want. In this case, it's telling the alias "when I call for 'damageMod', substitute the number that's in here after the equal sign.
The aroll and droll statements are also just defining variables, but the values we're assigning to them are a little more complex. Let's break down {{ aroll = vroll( f"1d20 + { attackMod }" ) }} into its parts:
We start and end with double curly braces, just like always. Then, we say aroll =, which means we're defining a variable we're calling "aroll", and everything after that is what the program will understand "aroll" to mean when we use it later.
vroll() is a pre-defined Avrae function, and we put a dice expression inside the parentheses to roll some dice. Just like when we use !r XdY+Z to roll with Avrae, we're doing the same thing here, only our dice expression is f"1d20 + {attackMod}". In Python code, which this is based on, we call this an "f-string", meaning "this string of characters has a variable in it, and I'm going to want you to substitute in the pre-defined meaning of that variable instead of taking the text literally." So, the dice expression is contained within double quotes with the letter F in front of it: f" ". Within the f-string, we have the dice expression, then the variable we defined earlier is in curly braces {attackMod}. All of this is to set up a variable called "aroll" which Avrae understands to mean "the result of rolling 1d20+5".
The bottom two lines are defining what Avrae should print to the actual channel. {{f'-f"Attack|{aroll.full}"}} is printing an f-string that prints Attack| and then the result of the aroll variable defined above. The final line does the same thing for damage.
-This is a combination of discord work from Naith and DanB
We are moving to a lotto system rather than first come, first serve.
The command to see this is:
!lotto
When a game has open spots, we try to fill them by lotto if overfilled.
Gm says I have X number of spots available for level X-X, and gives a time they will accept others to randomly select.
People Put !data into a mission for those spots.
After time closes, GM Assigns a number to the players by rolling a 1d100 per player, and assigns them in order of data recieved.
Highest rolls get the spot.
The easy command is:
!r 15d100kh6
Replacing the 15 with however many you need.