capabilities add?

im attempting to make a npc and am using this
[lua]
self:CapabilitiesAdd( CAP_MOVE_GROUND | CAP_OPEN_DOORS | CAP_ANIMATEDFACE | CAP_TURN_HEAD | CAP_USE_SHOT_REGULATOR | CAP_AIM_GUN )
[/lua]
although im getting an error from it saying
[lua]
‘)’ expected near ‘|’
[/lua]

You must use bit.bor instead.

| is not a valid operator.

thanks!