Hi,
That's not a script, its a just a field. Type in the command " FIELD" and select others from the field category and then the system variable "CTAB" and then you can choose which type of format you require and then click ok. Below is the screenshot of how you can get that. Here I have used the field in the model space so its showing as model.

--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)

Likes is much appreciated if the information I have shared is helpful to you and/or others.
Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------