bad people

, in the server execute a "alias" which calls to another alias that calls to the first alias, this generates a "LOOP" and the server is left 100% use of CPU "lag", and quit all people (timed out)
the alias says for example say /showscores or say /rank
alias "ggg" "say /rank;say /rank;say /rank;say /rank; ggg2"
alias "ggg2" "say /rank;say /rank;say /rank;say /rank; ggg"

i need detect this hack, I think create a cvar client named alias
because if player say in console alias, i kick player, i can do this?
or i can show if have got an alias?
Code:
#include <amxmodx>
#include <amxmisc>
new Plugin_Author[] = "<*[ZOO]*> - Lobo";
new Plugin_Version[] = "V 1.0";
new Plugin_Name[] = "Detect bad alias, Server - Plugin"
#define MSG_GLOBAL
public plugin_init()
{
register_plugin(Plugin_Name,Plugin_Version,Plugin_Author);
register_clcmd("alias","detect",0,": .")
}
public detect(id)
{
if( !is_user_connected(id) ) { return PLUGIN_HANDLED; }
client_cmd(id,"echo ^"*** no use alias ***^";disconnect")
}