PHP Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Test", "1.0", "Fysiks")
register_clcmd("say /motd", "showmotd", 0, " - show MOTD")
}
public showmotd(id)
{
show_motd(id, "motd.txt", "Testing MOTD")
}
If you want to use it from a menu execute the showmotd(id) function from your menu handler.