Triggering a chat message with a UI/Menu Button

Hello, so i have seen a few "unrack and “rack” commands for the carbine but they are all for the /unrack etc and then it uses the function(source) to trigger the command in chat with there name “I.E Ben unracks there AR”

how would i go about doing this for a Menu button? cheers lads.

Appreciate it.

You could use one of the following:

Or any other menu resources you find :+1: