Untested but should work. By my understanding this is what you wanted.
PHP Code:
#include <sourcemod>
#define MENU_TITLE "Menu Title"
#define MENU_ITEM "Remember to say what you see and hear"
public void OnPluginStart()
{
RegConsoleCmd("sm_test", Command_Callback);
}
public Action Command_Callback(int client, int args)
{
Menu menu = new Menu(Menu_Handler);
menu.SetTitle(MENU_TITLE);
menu.AddItem("", MENU_ITEM, ITEMDRAW_DISABLED);
menu.Display(client, MENU_TIME_FOREVER);
return Plugin_Handled;
}
public int Menu_Handler(Menu menu, MenuAction action, int param1, int param2)
{
if (action == MenuAction_End)
delete menu;
return 0;
}
If you want to change the menu title or item name, change the phrase in the quotes for the defines MENU_TITLE and MENU_ITEM. Furthermore, if you want to change the command that makes the menu display, change the sm_test to sm_whatyouwant.
EDIT: If you would like any other features added to it such as it being automatically displayed, PM me.