View Single Post
  #2  
Old 12-10-2004, 01:51 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Code:
sub EVENT_SAY
{
  if($text=~/hail/i)
    {
    quest::say("[Lguk]?");
    }
  if($text=~/lguk/i)
    {
    quest::movepc(zoneid,dest_x,dest_y,dest_z);
    }
}
(You must change the parameters for movepc())
__________________
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