Easy way to make a menu system for /slash commands?


#1

Is there an easy way to make a menu for slash commands? Like /cuff, etc. I know there’s a few good frameworks out there for creating menu’s, I just don’t know how to make them use /chat commands or if that’s even possible? Any insight would be appreciated. <3 <3 <3


#2

you can build in yourself by checking out the server events… in particular: EventHandlers.Add(“chatMessage”, new Action<int, string, string>(Messages));

that event will fire whenever a message is send. that is done in c# but the lua code should be much different.

then when the event fires all you gotta do is check what the message is… so if it starts with /cuff then you gotta do shit :slight_smile: