Getting the help tab's info

Hello i was wondering if getting the client version, server version, and corescript version is possible with scripts. Trying to display them in the same way they’re displayed in the help tab in the esc menu

i’ve tried to find ways to get them but i cant find any documentation on it