# What is the Roll20 syntax needed to add a +1 bonus from the Weapon Focus feat to an attack with a long arm?

Under Weapon & Armor Proficiencies > Attacks:
I am trying to add a bonus +1 to my attack with a long arm because of the Weapon Focus feat (1st level soldier). I tried:

Attack Roll [DEX] + 2 [+1 insight to attack]


The [+1 insight to attack] does not seem to add 1 to my attack roll. Is there another way?

• Welcome to RPG.SE! Take the tour if you haven't already, and check out the help center for more guidance. – V2Blast Mar 31 '19 at 23:11
• Are you using the Starfinder Official sheet by Roll20? – V2Blast May 2 at 13:46

The expression "+1 insight to attack" is not valid for Roll20 roll syntax. The "+1" can be parsed as a +1 increased value, but the "insight to attack" substring is not evaluated.
For example, if you're using the Starfinder template for Roll20 character sheets, then you could fill in the text as "+1[insight]". This substring is then incorporated in the roll macro.