Thread: PoD Help
View Single Post
  #3  
Old 07-26-2004, 08:58 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default Re: PoD Help

Quote:
# Quest Has Been Created For Bobby's World Server created by -]Bobby]-

Actually the quest is identical to the one I wrote up on another thread, dont lie

Yeah, Eshmangul has it. remove the quotes and it should work fine.

I quote myself:
Quote:
Here you go.
Code:
sub EVENT_SAY 
{ 
if($text=~/Hail/i){quest::say("Greetings, $name. If you wish to follow the ways of discord, simply tell me you wish to be what we call [pvpon]. To follow the ways of Order and remove your "PvP" tag, simply chant the words, [pvpoff].");} 
if($text=~/pvpon/i){quest::say("Good Choice. Destory the shackles of order, $name!!!");quest::pvp("on");} 
if($text=~/pvpoff/i){quest::say("While you will regret putting yourself back under Order, I cannot refuse your request.");quest::pvp("off");} 
}

Also, this is in a sticky although I redid it to your exact requests, so, next time look around a little =)
__________________
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