I’m creating some new menus for a couple of my clan’s servers, but I’ve run into a problem. I’m not a programmer/coder, but am trying to learn what I need so the may be obvious or obviously no.
Anyways, I want to make an admin menu, where admin’s can both see the formatting and use of commands (one server’s running jaymod, the other etpub). So I tried something like this:
BUTTON( 6, 32, .5*(WINDOW_WIDTH-18), 14, "PUTTEAM", .24, 11, open ingame_messagemode ; exec "cmd !putteam" )
To my suprise it both opens a messagebox and lists off the command values (!putteam [name][#] etc) just as it would if you typed it and entered it without adding name/switches. What’d I’d like to do is make it so that when you hit the button, it both tells you the context of the command as above, but also fills it into the messagebox so they only have to add name and switch.
If anyone can give me some help or even a “that is completely impossible and you’re stupid for asking it” response, it’d be greatly appreciated. 
Thanks