You need a trigger:-
Condition: not (alive Jim)
On activation: "SoldierWB" createUnit [getMarkerPos "barracks", grp1, "this addweapon binocular; Peter = this", 0.75, corporal]
Look up creatunit in the command ref to understand what all the bits mean.
Oh, and
Welcome to the forum!