Katharine L. said: If there's anywhere to put that formula, I'm not aware of it. What does one do with a script like that? Pasting that straight into the chat returns an error message. Pretend I don't know anything about macros. Because you are lacking a Target. If you are sending that from a Character Sheet, it's all you need, because it uses the Sheet's @{level} (the error is quite straightforward) If you want to pick a specific Token, you can easily do so using the prefix target| making the resulting call @{target|level} but it must be linked to a Character Sheet in order to work, otherwise, you will get an error (as a matter of fact, you require a Character Sheet for the @{level} call entirely) If you are using a Macro to set it up as a Token Action, you can use the selected| prefix, making the call @{selected|level} but you can only use it if you have a Token selected on the Map, which means you are going to need to have Edit Permissions for the Sheet. @{level} @{target|level} @{selected|level} All 3 of these are well covered in the Roll20 Wiki: <a href="https://wiki.roll20.net/" rel="nofollow">https://wiki.roll20.net/</a> Things that aren't covered are complex Macro builds such as the Targeting Macro for that many beams, which uses advanced commands such as: @{target|Beam 1|token_name} or @{target|Beam 1|character_name} or even more advanced commands that actually figure out automatically how many times to ask based on how many beams there are using Math (mostly division). floor is the same as saying "Round Down" (the most common formula in 5e) ceil (ceiling) is the same as saying "Round Up" round will Round up or down depending upon if the number is below 0.5 or not [[floor(1.9)]]=1 [[ceil(1.1)]]=2 [[round(1.49)]]=1 [[round(1.5)]]=2 This was also covered in the Wiki. Blue64 said: @{target|Caster|token_name} Casts Eldritch Blast which shoots [[(floor((@{ target|Caster| level}+1)/6)+1)]] Beams for [[[[(floor((@{ target|Caster| level}+1)/6)+1)]] d20]] to Hit & [[[[(floor((@{ target|Caster| level}+1)/6)+1)]]d10]] Damage This is easier than Magic Missile . /ooc &{template:default} {{name=@{selected|character_name} Casts Magic Missile}} {{Damage Type=Force}} {{Level=1st}} {{1st Dart=[[1d4+1]] at @{target|1|character_name}}} {{2nd Dart=[[1d4+1]] at @{target|2|character_name}}} {{3rd Dart=[[1d4+1]] at @{target|3|character_name}}} Casts Magic Missile}} {{Damage Type=Force}} {{Level=2nd}} {{1st Dart=[[1d4+1]] at @{target|1|character_name}}} {{2nd Dart=[[1d4+1]] at @{target|2|character_name}}} {{3rd Dart=[[1d4+1]] at @{target|3|character_name}}} {{4th Dart=[[1d4+1]] at @{target|4|character_name}}} Casts Magic Missile}} {{Damage Type=Force}} {{Level=3rd}} {{1st Dart=[[1d4+1]] at @{target|1|character_name}}} {{2nd Dart=[[1d4+1]] at @{target|2|character_name}}} {{3rd Dart=[[1d4+1]] at @{target|3|character_name}}} {{4th Dart=[[1d4+1]] at @{target|4|character_name}}} {{5th Dart=[[1d4+1]] at @{target|5|character_name}}} Casts Magic Missile}} {{Damage Type=Force}} {{Level=4th}} {{1st Dart=[[1d4+1]] at @{target|1|character_name}}} {{2nd Dart=[[1d4+1]] at @{target|2|character_name}}} {{3rd Dart=[[1d4+1]] at @{target|3|character_name}}} {{4th Dart=[[1d4+1]] at @{target|4|character_name}}} {{5th Dart=[[1d4+1]] at @{target|5|character_name}}} {{6th Dart=[[1d4+1]] at @{target|6|character_name}}} Casts Magic Missile}} {{Damage Type=Force}} {{Level=5th}} {{1st Dart=[[1d4+1]] at @{target|1|character_name}}} {{2nd Dart=[[1d4+1]] at @{target|2|character_name}}} {{3rd Dart=[[1d4+1]] at @{target|3|character_name}}} {{4th Dart=[[1d4+1]] at @{target|4|character_name}}} {{5th Dart=[[1d4+1]] at @{target|5|character_name}}} {{6th Dart=[[1d4+1]] at @{target|6|character_name}}} {{7th Dart=[[1d4+1]] at @{target|7|character_name}}} Casts Magic Missile}} {{Damage Type=Force}} {{Level=6th}} {{1st Dart=[[1d4+1]] at @{target|1|character_name}}} {{2nd Dart=[[1d4+1]] at @{target|2|character_name}}} {{3rd Dart=[[1d4+1]] at @{target|3|character_name}}} {{4th Dart=[[1d4+1]] at @{target|4|character_name}}} {{5th Dart=[[1d4+1]] at @{target|5|character_name}}} {{6th Dart=[[1d4+1]] at @{target|6|character_name}}} {{7th Dart=[[1d4+1]] at @{target|7|character_name}}} {{8th Dart=[[1d4+1]] at @{target|8|character_name}}} Casts Magic Missile}} {{Damage Type=Force}} {{Level=7th}} {{1st Dart=[[1d4+1]] at @{target|1|character_name}}} {{2nd Dart=[[1d4+1]] at @{target|2|character_name}}} {{3rd Dart=[[1d4+1]] at @{target|3|character_name}}} {{4th Dart=[[1d4+1]] at @{target|4|character_name}}} {{5th Dart=[[1d4+1]] at @{target|5|character_name}}} {{6th Dart=[[1d4+1]] at @{target|6|character_name}}} {{7th Dart=[[1d4+1]] at @{target|7|character_name}}} {{8th Dart=[[1d4+1]] at @{target|8|character_name}}} {{9th Dart=[[1d4+1]] at @{target|9|character_name}}} Casts Magic Missile}} {{Damage Type=Force}} {{Level=8th}} {{1st Dart=[[1d4+1]] at @{target|1|character_name}}} {{2nd Dart=[[1d4+1]] at @{target|2|character_name}}} {{3rd Dart=[[1d4+1]] at @{target|3|character_name}}} {{4th Dart=[[1d4+1]] at @{target|4|character_name}}} {{5th Dart=[[1d4+1]] at @{target|5|character_name}}} {{6th Dart=[[1d4+1]] at @{target|6|character_name}}} {{7th Dart=[[1d4+1]] at @{target|7|character_name}}} {{8th Dart=[[1d4+1]] at @{target|8|character_name}}} {{9th Dart=[[1d4+1]] at @{target|9|character_name}}} {{10th Dart=[[1d4+1]] at @{target|10|character_name}}} Casts Magic Missile}} {{Damage Type=Force}} {{Level=9th}} {{1st Dart=[[1d4+1]] at @{target|1|character_name}}} {{2nd Dart=[[1d4+1]] at @{target|2|character_name}}} {{3rd Dart=[[1d4+1]] at @{target|3|character_name}}} {{4th Dart=[[1d4+1]] at @{target|4|character_name}}} {{5th Dart=[[1d4+1]] at @{target|5|character_name}}} {{6th Dart=[[1d4+1]] at @{target|6|character_name}}} {{7th Dart=[[1d4+1]] at @{target|7|character_name}}} {{8th Dart=[[1d4+1]] at @{target|8|character_name}}} {{9th Dart=[[1d4+1]] at @{target|9|character_name}}} {{10th Dart=[[1d4+1]] at @{target|10|character_name}}} {{11th Dart=[[1d4+1]] at @{target|11|character_name}}}