NPC console commands

Trying to figure out how to get an oxide permission to be given out on NPC interaction. Using the following: oxide.usergroup add $player.id on_duty and giving: Player "$player.id" not found.

I've tried other variations like: playerID, etc with no change

 "Command": "somthinghere",
          "Arrangements": "\"oxide.usergroup add\" on_duty ",
          "OnPlayer": true

Try this maybe.

The above is returning: command ' <players steamid> "\"oxide.usergroup add\" on_duty " ' not found

edit: If it helps the command oxide.usergroup add $player.id on_duty has worked with all other systems that use/pay a perm out

HeavyCheddar

The above is returning: command ' <players steamid> "\"oxide.usergroup add\" on_duty " ' not found

edit: If it helps the command oxide.usergroup add $player.id on_duty has worked with all other systems that use/pay a perm out

Ops use this  
 "Command": "oxide.usergroup add",
          "Arrangements": "on_duty",
          "OnPlayer": true​


OnPlayer will add the players steam id inbetween command and arrangements.

Ts3hosting
Ops use this  
 "Command": "oxide.usergroup add",
          "Arrangements": "on_duty",
          "OnPlayer": true​

OnPlayer will add the players steam id inbetween command and arrangements.

Worked, thank you!