There are four cvars, amx_slap_usage, amx_slay_usage, amx_kick_usage and amx_ban_usage that are all set to 30 (seconds) by default. There are no errors in my code; there is a Firefox bug that strips line breaks when copying the entirety of a code box. I've attached it for your convenience. Alternatively you could use the general purpose plugin SnoW posted.