Based on your idea, I used this:
1002,PORING,Poring,619,9001,10013,531,80,60,50,100,250,20,2000,150,1,0,350,400,800,{ if( getmapflag( strcharinfo(3),mf_pvp) ) { dispbottom "Pet looting is disabled in PvP"; } else { petloot 10; }; },{ bonus bLuk,2; bonus bCritical,1; }
Still doesnt work. Poring still loots both in and out of pvp. No dispbottom displayed.
Anything I did wrong? or perhaps the line getmapflag( strcharinfo(3) does not work for pets?
Thanks.