Put it in an npc script like
-<tab>script<tab>ZenyPenalty<tab>-1,{
OnPCDieEvent:
.@zeny_penalty_percent = 10;
if( getmonsterinfo( killerrid,MOB NAME ) != "null" ){
.@zeny = (( Zeny / 100 ) * .@zeny_penalty_percent );
Zeny -= .@zeny;
}
}
Remember to put tabs on the top of the script and save it inside your "npc" folder located inside your server files and also apply it inside your script_custom.conf as "npc: npc/<folder_name>/<txt_filename>.txt "
Good luck matey.. Never tried the script though.