anyone can help me to get packet drop with scripting.
what you mean exactly?
if you want to see what packets you drop, add log rule before drop rule with same settings as drop, just with passthrough
then i would advise to use remote logging, in case, a lot of packets gets dropped, but you can evaluate that.