View Single Post
  #2  
Old 08-31-2004, 04:59 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

I'm not sure. Test it using this script.
Code:
#Itemcount Testing
#perlQuest
sub EVENT_ITEM
{
if($itemcount{1001} == 1)
  {
  quest::say("You have turned in 1 item.");
  }
if($itemcount{1001} == 20)
  {
  quest::say("You have turned in 20 items.");
  }
}
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote