pjk1994 / evolvemod

Automatically exported from code.google.com/p/evolvemod
0 stars 0 forks source link

Don't show what i did. #411

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Could you please add an option that lets you change if you wan't the "<NAME> 
has rocketed <NAME>" and all other messeges to show up?

Original issue reported on code.google.com by crille...@gmail.com on 31 Dec 2011 at 1:27

GoogleCodeExporter commented 8 years ago
if you use @<cmd> insted of !<cmd> of /<cmd> its a silent cmd and wont print to 
chat or console

Original comment by Darkassa...@gmail.com on 6 Jan 2012 at 12:25

GoogleCodeExporter commented 8 years ago
also if you go into addons/evolve/lua/ev_plugins  an open sv_chatcommands.lua 
you can edit these lines (43 and 53)

--------------------------------------------------------------------------------
--------------------------------------

if ( ( GAMEMODE.Name == "Sandbox" and string.Left( msg, 1 ) == "/" ) or 
string.Left( msg, 1 ) == "!" or string.Left( msg, 1 ) == "@" ) then
 evolve.SilentNotify = string.Left( msg, 1 ) == "@"   

--------------------------------------------------------------------------------
--------------------------------------

change @ in both lines to the symboll you want ex: #
if ( ( GAMEMODE.Name == "Sandbox" and string.Left( msg, 1 ) == "/" ) or 
string.Left( msg, 1 ) == "!" or string.Left( msg, 1 ) == "#" ) then
 evolve.SilentNotify = string.Left( msg, 1 ) == "#"   

--------------------------------------------------------------------------------
--------------------------------------

but if you change the simboll to ! or ? then use this

if ( ( GAMEMODE.Name == "Sandbox" and string.Left( msg, 1 ) == "/" ) or 
string.Left( msg, 1 ) == "!") then
 evolve.SilentNotify = string.Left( msg, 1 ) == "!"   

Original comment by Darkassa...@gmail.com on 6 Jan 2012 at 1:03