View Single Post
  #2  
Old 06-08-2008, 09:00 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Make sure you have the check_hasitem.pl plugin (included in PEQ's quest CVS) and use :

(plugin::check_hasitem($client, 1234))

Replacing 1234 with the item id, of course. This checks all inventory slots, including bank. Obviously, if the player deletes the item this method won't work so you may wan to use globals. But, checking the inventory is certainly easier and lighter on the DB.
Reply With Quote