
   /**************************************************
   ***    Name: Adminmod Transition
   ***    Author: Jarrett Hawrylak(Tc0|Snafus|)
   ***    Contact: iknowmypasswurd@hotmail.com
   ***
   ***    This is a small plugin I wrote because I understand
   ***    that many people are used to adminmod and
   ***    cant understand how to change over...
   ***    This plugin is an alpha version because I'm
   ***    serverless and cant test it...
   ***
   ***    Registered CVARS:
   ***    AM_inform: 0 - do nothing
   ***           1 - Inform them of the command
   ***           2 - slap them for 0 damage
   ***           3 - do both
   ***
   ***     This plugin basically does the correct command
   ***    when a brainwashed adminmod user uses an
   ***    admin_ command... i hope ;)
   ***
   ***    Please tell me if it works or not... as I said before
   ***    Its untested
   *****************************************************/
   #include <amxmod>
   public plugin_init() {
       register_plugin("Adminmod transition", "0.1", "Tc0|Snafus|")
       register_cvar("AM_inform", "1")
       return PLUGIN_CONTINUE
   }
   public client_command(id) {
       new cmd[32]
       read_argv(0,cmd,32)
       if(!equali(cmd,"admin_",6)) return PLUGIN_CONTINUE
       new args[50]
       read_args(args,50)
       new punish = get_cvar_num("AM_inform")
       new clcmd[80]
       format(clcmd,80,"amx_%s %s", cmd[6], args)
       engclient_cmd(id,clcmd)
       if(punish == 1)
           client_print(id,print_console,"Use amx_%s next time!",cmd[6])
       if(punish == 2)
           user_slap(id,0)
       if(punish == 3) {
           user_slap(id,0)
           client_print(id,print_console,"Use amx_%s next time!",cmd[6])
       }
   return PLUGIN_CONTINUE
   }
