just steal code from here and there that does your punish when you do amx_punish asshole which executes this on their local cilent "bind mouse1 punishme"
and which registers that when punishme is said you're slayed or whatever...
amx_exec dude "bind mouse1 +kill" is even possible... but I wouldnt advise it