VGUI for damagelogs?

So I don’t know how I would code a VGUI for admins to type in console a command and it will open a VGUI that opens up damagelogs. Because most people can’t read the damagelogs because of a glitch (btw its TTT) and it says unknown command so HOW would I code this?

You’re clearly typing the command wrong…

Thanks… Hope this works when I get home.

Edited:

Yeah it works, but I was thinking of like maybe that now I got something, maybe make another tab in the ulx menu, how is this possible?s