Dissidia Posted December 26, 2011 Share Posted December 26, 2011 script that check the item if rental. Quote Link to comment Share on other sites More sharing options...
Lilith Posted December 26, 2011 Share Posted December 26, 2011 (edited) Try this. Not tested. callfunc "F_Expire",Item_id; map,x,y,z script name 100,{ input @ids; if(callfunc("F_Expire",@ids)>0) mes "Item "+getitemname(@ids)+" is rental"; else mes "Item "+getitemname(@ids)+" is not rental"; close; } function script F_Expire { getinventorylist; for( set [email protected],0; [email protected] < getarraysize(@inventorylist_id); set [email protected],[email protected]+1) if(getarg(0) == @inventorylist_id[[email protected]] && @inventorylist_expire[[email protected]] > 0) return 1; else return 0; } Edited December 26, 2011 by Lilith Quote Link to comment Share on other sites More sharing options...
Dissidia Posted December 26, 2011 Author Share Posted December 26, 2011 thaks. i will try this right now, i wish it work. thanks again.. Quote Link to comment Share on other sites More sharing options...
script that check the item if rental.
Link to comment
Share on other sites