NCOMMS/Example/CommsExample

= Command Example =

The following is a Blank Comm.

** means Required Option

config.Comms["Name"] = { ** name = "Display_Name", aliases = {"AnotherName"}, color = Color(255, 255, 255), ** fullcolor = true, -- Makes the entire message the color differentComms = { -- Comms Ids, allows infinite comms for different teams --[TEAM_NAME] = "Comm_ID", },   customCheck = function(ply)  -- Check if the player can use the command return true end, hearCheck = function(ply) -- Check if the player can hear the command return true end, }

for customCheck and hearCheck you can use Blacklist or Whitelist to easily whitelist teams

Note: anyone that passes the customCheck automaticly overwrites the hearCheck

When making a command make sure to put it inside `neural_comms/lua/neural_comms/neural_comms_config.lua`

[[Category:Example|Comms Example]