Thread: Quest System
View Single Post
  #17  
Old 10-16-2004, 12:39 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

...and we appreciate your input. However, if someone cannot understand the Perl system and find it a hassle, should they really be running a server?

Also, for quest::color("blah");, you can use this:

embparser.cpp line 500, add after:
Code:
"sub coloremote{push(@cmd_queue,{func=>'coloremote',args=>join(',',@_)});}"
parser.cpp line 960, add after:
Code:
else if (!strcmp(strlwr(command),"coloremote")) { 
                         if(mob)mob->Message(atoi(arglist[0]),atoi(arglist[1])); 
                      }
*crosses that one off the list*

Syntax:
Code:
quest::coloremote(15, "Hail, $name");
Will Produce:
Hail, Laeiin.
__________________
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