Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2004, 04:55 PM
Silenteer
Sarnak
 
Join Date: Feb 2003
Posts: 80
Default Priest of Discord PvP Script

Hey guys, im planning to put in a quest type thing on the PoD in gfay. I just need the script, im hoping someone can help me out.
I need to make the PoD to be like this.

You hail the PoD, and it says "Say [pvpon] to turn pvp on, say [pvpoff] to turn it off."
And when you say [pvpon] it sets your #pvp on flag on your character, and obviously, [pvpoff] takes it off, whats the quest script for the CQE quest editor for that? c'mon whos smart? (not me) c'mon guys, giz a hand =D
Reply With Quote
  #2  
Old 07-19-2004, 05:58 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:58 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3