NPC which uses the "player" entity

If this is even possible, i’d like something for singleplayer which is literally clicking an icon to spawn as with any other NPC, and being able to move them around the map with the physgun, blah blah blah, usual stuff, but i’d also like to be able have it trigger any traps which, using wire, detect the player entity and attack or trap appropriately.

open console
sv_cheats 1
bot_mimic 1
bot

Doesn’t work, even in a listen server.
I don’t know why, but it doesn’t.