------------------------------------------------------------------------ -- nokill.lua -- Version 1.1 -- -- (c) 2005 infty -- guidebot@gmx.net -- ------------------------------------------------------------------------ -- -- Completely disables the /kill command by intercepting it in the -- et_ClientCommand callback. Displays a notifcation to the player who -- tried the /kill that it is disabled. Doesnt kick players. -- ------------------------------------------------------------------------ function et_ClientCommand(client, command) if string.lower(command) == "kill" then et.trap_SendServerCommand( client, "cp \"^1Sorry, selfkilling is disabled on this server.\n\"" ) return 1 end end