Mod tech tree in command chat

Any way possible that tipping in chat !t1 chat send to you the tech tree for player 1?
Maybe confuse with only command and need subdivide in multiples like
!b1 -> blacksmith player 1, answer something like attack missing last, pierce armor full
!d2 -> dock tech player 2
!m1-> monks tech player 1
!a1 -> arch tech…

Its possible to do something like this? I dont know how to start to do it