View Single Post
SixSicSix
Senior Member
Join Date: Jan 2008
Old 06-12-2008 , 18:58   Re: Help Menu v0.1 (6/10)
Reply With Quote #7

Quote:
Originally Posted by FunTF2Server View Post
can you make it for in addition to !helpmenu, they can also type:

!help
!cmd
/help
/cmd
!menu
!cmdlist
/cmdlist
/menu
!motd
/motd
!rtfm


and those will also trigger the help menu.

Because I see people join my server and type those all the time, but I've never see anyone type !helpmenu

Modify it yourself as such:

RegConsoleCmd("sm_helpmenu", Command_HelpMenu, "Display the help menu.", FCVAR_PLUGIN);

change it to

RegConsoleCmd("sm_menu", Command_HelpMenu, "Display the help menu.", FCVAR_PLUGIN);

for !menu to work

Copy, paste, salt and pepper to your liking.


In sourcemod, commands work in chat with an ! or a /. Usually, ! adds an sm_ to the front of the string to register a console command...

if that makes sense.
SixSicSix is offline