------------------------------------------------------------------------ -- ouichkill.lua -- This is a slight edition of the file : nokill.lua -- available at : http://wolfwiki.anime.net/index.php/User:Hadr0 -- (c) 2005 infty -- guidebot@gmx.net -- Created for fueldump.de ------------------------------------------------------------------------ -- -- 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 command == "kill" then et.trap_SendServerCommand( client, "cp \"^sSelfkilling disabled in ^8Ouichbase.\n\"" ) return 1 end end