Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Macros Problems

January 17 (8 years ago)

Edited January 17 (8 years ago)
&{template:default} {{name=Melee Attack}} {{Hit:=[[1d20cs>17 + 5[STR] + 10[BAB] +3[WeaponBonus] + ?{AttackMod|0} ]]}} {{Dmg:=[[1d8 + 5[STR] + 3[WeaponBonus] + ?{DamageMod|0} ]]}} {{Confirm:=[[1d20 +4[CritFocus] + 5[STR] + 10[BAB] +3[WeaponBonus] + ?{AttackMod|0} ]]}} {{CritDmg:=[[1d8 + 5[STR] + 3[WeaponBonus] + ?{DamageMod|0} ]]}}

Can't get this macro to show up right in the game.  I don't really know how to make macros so help would be nice.

&{template:default} {{name=Knowledges}} {{Arcana[[ 1d20 + 20 ]]=**Appraise**[[1d20 + 10]]}} {{Linguistic[[ 1d20 + 7 +5]]=**Nature**[[1d20 + 15 +1[Book]]]}} {{Planes[[1d20 + 18 ]]=**Religion**[[ 1d20 + 11 ]] }} {{Dungeon[[ 1d20 + 7 ]]=**Nobility**[[1d20 + 7 ]]}} {{Engineer[[ 1d20 + 7 ]]=**History**[[1d20 + 18 +2[Book] ]]}} {{Geography[[ 1d20 + 11 ]]=**Local**[[1d20 + 11 ]]}}

&{template:default} {{name=Conversation}} {{Bluff[[ 1d20 + 10 ]]=**Diplo**[[ 1d20 + -1 ]]}} {{Sense Motive[[ 1d20 + 2 ]]=**Intim**[[ 1d20 + -1 ]] }} &{template:default} {{name=Languages}} {{*Common, Elven, Read-Lips }}

https://wiki.roll20.net/Macros/Pathfinder_Examples...

I took these examples and did a test run with them.  I cannot not get them to work as intended.
Other problems include "TypeError: d is undefined" when I try to input something from the wiki.  A lot of my earlier macros from several months ago wont work ether.
January 17 (8 years ago)
The Aaron
Pro
API Scripter
Where are you trying to put these?  I pasted them in the chat and they each worked fine for me.



These are all using the Default Roll Template.

January 17 (8 years ago)
The Aaron
Pro
API Scripter
It's possible you were picking up a Unicode character when copy/pasting from the wiki.  After pasting, try hitting [home] on your keyboard and then hitting [delete] until you erase the first visible character, then retype it.  Repeat with [end] and the last character.  See if that changes the behavior.
January 17 (8 years ago)
Yeah I'm just trying to get some 3.5 macros set up.  Mine look like this
January 17 (8 years ago)

Edited January 17 (8 years ago)
Like the table just wont close and I'm not familiar enough with writing macros to know how to fix this.  I tried to fix  using your solution.  No go my friend.

----------------
&{template:DnD35StdRoll} {{abilityflag=true}} {{name=@{selected|character_name} }} {{subtags=Strikes ?{Item?|the offending subject} with all his might! }}{{subtags2= To hit [[1d20+13]]Damage [[(1d10+5+2)]]}}


&{template:DnD35StdRoll} {{abilityflag=true}} {{name=@{selected|character_name} }} {{subtags=Strikes ?{Item?|the offending subject} with all his might! }}{{subtags2= To hit [[1d20+13]]Damage [[(1d10+5+2)]]To hit [[1d20+10]]Damage [[(1d10+5+2)]]}}


How do I put in a break in it so it doesn't look like this   I tried to seperate them using {{   }} but it doesn't look anything like what you posted.  Which btw is what I want.


Was something I was working on which is fine.  Still trying to figure out how to add  [[?{Charging|yes,+2|no,0}]] to it to prompt for addition to the to hit.
  I just don't understand why the table will close on some things but not others.
January 17 (8 years ago)
The Aaron
Pro
API Scripter
Are you hitting enter between }} and {{ ?

This should work:
&{template:default}{{name=works?}}{{Line 1=test}}
This will be broken:
&{template:default}{{name=broken!}}
{{Line 1=test}}